]> granicus.if.org Git - docbook-dsssl/commitdiff
Footnote numbers doesn't count <ulink url="..."/>
authorJirka Kosek <jirka@kosek.cz>
Wed, 1 Sep 2004 20:02:42 +0000 (20:02 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 1 Sep 2004 20:02:42 +0000 (20:02 +0000)
xsl/fo/footnote.xsl
xsl/fo/xref.xsl

index 21f5646b9b27d377dff22bb46e7c8dd9557a4dee..6d19e0ff86f8054a0a38c08f7ba4a3681d6b088c 100644 (file)
@@ -96,7 +96,7 @@
         <!-- FIXME: list in @from is probably not complete -->
         <xsl:number level="any" 
                     from="chapter|appendix|preface|article|refentry|bibliography" 
-                    count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[$ulink.footnotes != 0][@url != .][not(ancestor::footnote)]" 
+                    count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)]" 
                     format="1"/>
       </xsl:variable>
       <xsl:choose>
index 8ed6b277b21876e96761850d342b3ca8b9a13418..d3338a9bd451614e6ba1d1ec275f8cc83b06517c 100644 (file)
       <!-- FIXME: list in @from is probably not complete -->
       <xsl:number level="any" 
                   from="chapter|appendix|preface|article|refentry|bibliography" 
-                  count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[@url != .][not(ancestor::footnote)]" 
+                  count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[node()][@url != .][not(ancestor::footnote)]" 
                   format="1"/>
     </xsl:variable>
     <xsl:choose>