]> granicus.if.org Git - docbook-dsssl/commitdiff
Separate book appendixes from article appendixes (so that they can be customized...
authorNorman Walsh <ndw@nwalsh.com>
Wed, 19 Jan 2011 19:24:47 +0000 (19:24 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 19 Jan 2011 19:24:47 +0000 (19:24 +0000)
xsl/html/chunktoc.xsl

index 3e667a1b9b8290b61901c25a330786271cd97bbb..5423686785abfdcec2ab41a215fd2813f37da159 100644 (file)
@@ -1,10 +1,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
-                xmlns:exsl="http://exslt.org/common"
-                xmlns:ng="http://docbook.org/docbook-ng"
-                xmlns:db="http://docbook.org/ns/docbook"
-                version="1.0"
-                exclude-result-prefixes="doc exsl ng db">
+               version="1.0"
+                exclude-result-prefixes="doc">
 
 <!-- ********************************************************************
      $Id$
   <xsl:call-template name="process-chunk"/>
 </xsl:template>
 
-<xsl:template match="appendix">
+<xsl:template match="book/appendix">
   <xsl:call-template name="process-chunk"/>
 </xsl:template>
 
   <xsl:call-template name="process-chunk"/>
 </xsl:template>
 
+<xsl:template match="article/appendix">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
 <xsl:template match="article/glossary">
   <xsl:call-template name="process-chunk"/>
 </xsl:template>