Skip to content
Snippets Groups Projects
Commit 84d14a83c691 authored by William M. Brack's avatar William M. Brack
Browse files

enhanced previous fix to bug #120684, using excellent suggestion by Daniel

* transform.c: enhanced previous fix to bug #120684, using
  excellent suggestion by Daniel
* attributes.c: fixed bug #119583, merging attribute sets
  from imported stylesheets.
* tests/docs/Makefile.am tests/docs/bug-131.xml
  tests/general/Makefile.am tests/docs/bug-131*: added tests
  to the regression suite for bug #120684.
parent 53a2f63d7c5f
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<title>My title</title>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<xsl:attribute-set name="title.properties">
<xsl:attribute name="font-size">14pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="hyphenate">false</xsl:attribute>
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>
<xsl:template match="/title">
<fo:block xsl:use-attribute-sets="title.properties">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0"?>
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-size="8pt" font-weight="bold" hyphenate="false" keep-with-next.within-column="always">My title</fo:block>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<xsl:import href="bug-131-imp.imp"/>
<xsl:attribute-set name="title.properties">
<xsl:attribute name="font-size">8pt</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment