Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2007-10-22 13:20:38


Author: fmhess
Date: 2007-10-22 13:20:38 EDT (Mon, 22 Oct 2007)
New Revision: 40291
URL: http://svn.boost.org/trac/boost/changeset/40291

Log:
Extended hack that allows for nested <part> elements to deal
with <appendix>.

Text files modified:
   sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/docbook.xsl 2007-10-22 13:20:38 EDT (Mon, 22 Oct 2007)
@@ -468,7 +468,7 @@
   <xsl:template match="part/part/partinfo|part/article/articleinfo">
     <chapterinfo><xsl:apply-templates/></chapterinfo>
   </xsl:template>
- <xsl:template match="part/part/chapter">
+ <xsl:template match="part/part/chapter|part/part/appendix">
     <section>
       <xsl:for-each select="./@*">
         <xsl:attribute name="{name(.)}">
@@ -478,7 +478,7 @@
       <xsl:apply-templates/>
     </section>
   </xsl:template>
- <xsl:template match="part/part/chapter/chapterinfo">
+ <xsl:template match="part/part/chapter/chapterinfo|part/part/appendix/appendixinfo">
     <sectioninfo><xsl:apply-templates/></sectioninfo>
   </xsl:template>
 </xsl:stylesheet>


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