Boostbook: Simpler method for copying chapter attributes. Refs #7899.

I'm not sure if this will fix the issue, but it's worth a try.

[SVN r82863]
This commit is contained in:
Daniel James 2013-02-14 00:58:09 +00:00
parent 7853cc1d04
commit e33a468009

View File

@ -431,12 +431,7 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '<xsl:value-o
<xsl:template match="chapter">
<xsl:if test="$boost.include.libraries=''">
<chapter>
<xsl:for-each select="./@*">
<xsl:attribute name="{name(.)}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:copy-of select="@*" />
<xsl:apply-templates/>
</chapter>
</xsl:if>