Re: [xsl] REPOST - duplicate footnotes

Subject: Re: [xsl] REPOST - duplicate footnotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Sep 2006 17:11:42 +0100
Hard to say what you are doing wrong without a source file 9you ought to
be able to make a 10 line source file with a 3 references to 2 footnotes
and not much else, for testing. and a stylesheet with just a couple of
templates to handle this.

First ignore the references and make sure that you get the correct
attributes on xsl:number so that the correct number appears on teh
footnote text.
Most likely <xsl:number level="any"/> is all you need for that, but you
may want other formats, etc.
then if when processing the footnote reference you first move to the
referenced footnote so that is the current node, then execute the smae
code (either by copying it or by applying the same template) then it
will necessarily generate the same number.

If you are getting different numbers then most likely they are being
generated by some other part of the stylehseet, and teh part you are
changing isn't being called.


Current Thread