]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix toc-depth bug in recursive sections
authorNorman Walsh <ndw@nwalsh.com>
Wed, 20 Feb 2002 12:18:43 +0000 (12:18 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 20 Feb 2002 12:18:43 +0000 (12:18 +0000)
xsl/html/autotoc.xsl

index d05b0d8f616b67a2b576f2bf83f565494ef5d58f..bded61b905c433b06455889e9655bd9ac1487293 100644 (file)
 
   <xsl:choose>
     <xsl:when test="$toodeep = 'no'">
-      <xsl:call-template name="subtoc"/>
+      <xsl:call-template name="subtoc">
+        <xsl:with-param name="nodes" select="section|bridgehead"/>
+      </xsl:call-template>
     </xsl:when>
     <xsl:otherwise>
       <xsl:call-template name="subtoc">