mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 23:13:58 +00:00
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:
parent
7853cc1d04
commit
e33a468009
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user