]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix footnote context error (Felix Rabe)
authorNorman Walsh <ndw@nwalsh.com>
Fri, 28 Jun 2002 18:25:26 +0000 (18:25 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 28 Jun 2002 18:25:26 +0000 (18:25 +0000)
xsl/html/chunk-common.xsl

index a21f4e94f70d259239ad66aa3d8583dd4a26af8f..0b15324b9792309eef4544aec59a8f159fd1e80d 100644 (file)
@@ -89,7 +89,7 @@
       </xsl:call-template>
     </xsl:when>
     <xsl:when test="local-name($node) = 'section'
-                    and $chunk.section.depth &gt;= count(ancestor::section)+1
+                    and $chunk.section.depth &gt;= count($node/ancestor::section)+1
                     and ($chunk.first.sections != 0
                          or count($node/preceding-sibling::section) &gt; 0)">
       <xsl:call-template name="chunk">