* 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.
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<title>My title</title>
+
--- /dev/null
+<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>
+
+
--- /dev/null
+<?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>
--- /dev/null
+<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>
+
+