]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in new toc templates.
authorBob Stayton <bobs@sagehill.net>
Thu, 12 Mar 2009 22:52:17 +0000 (22:52 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 12 Mar 2009 22:52:17 +0000 (22:52 +0000)
xsl/fo/toc.xsl

index 61d5486503668704d0fdaa74c917605a453760ee..4095c636c7969385fddc272c05b432ad5917cf6a 100644 (file)
@@ -34,7 +34,7 @@
     <xsl:variable name="content">
       <xsl:choose>
         <xsl:when test="* and $process.source.toc != 0">
-          <xsl:apply-templates select="*"/>
+          <xsl:apply-templates />
         </xsl:when>
         <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0">
           <!-- trick to switch context node to parent element -->
   <xsl:variable name="content">
     <xsl:choose>
       <xsl:when test="* and $process.source.toc != 0">
-        <xsl:apply-templates select="*"/>
+        <xsl:apply-templates />
       </xsl:when>
       <xsl:when test="not(child::*) and $process.empty.source.toc != 0">
         <xsl:call-template name="process.empty.lot"/>