Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82863 - trunk/tools/boostbook/xsl
From: dnljms_at_[hidden]
Date: 2013-02-13 19:58:10


Author: danieljames
Date: 2013-02-13 19:58:09 EST (Wed, 13 Feb 2013)
New Revision: 82863
URL: http://svn.boost.org/trac/boost/changeset/82863

Log:
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.
Text files modified:
   trunk/tools/boostbook/xsl/docbook.xsl | 7 +------
   1 files changed, 1 insertions(+), 6 deletions(-)

Modified: trunk/tools/boostbook/xsl/docbook.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/docbook.xsl (original)
+++ trunk/tools/boostbook/xsl/docbook.xsl 2013-02-13 19:58:09 EST (Wed, 13 Feb 2013)
@@ -431,12 +431,7 @@
   <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>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk