]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug in generated filename for separate TOC chunk.
authorBob Stayton <bobs@sagehill.net>
Sun, 13 Jun 2004 07:37:51 +0000 (07:37 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 13 Jun 2004 07:37:51 +0000 (07:37 +0000)
xsl/html/chunk-code.xsl

index c8a00d94a56941572c1bd861170396cf941dbf88..2d9c7309b14b8cdfd03b8463010cc39b153ee71e 100644 (file)
     </xsl:if>
   </xsl:variable>
 
-
   <xsl:if test="string($lots) != ''">
     <xsl:choose>
       <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
               <xsl:with-param name="base.dir" select="$base.dir"/>
               <xsl:with-param name="base.name">
                 <xsl:call-template name="dbhtml-dir"/>
-                <xsl:apply-templates select="." mode="recursive-chunk-filename"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
                 <xsl:text>-toc</xsl:text>
                 <xsl:value-of select="$html.ext"/>
               </xsl:with-param>