xsl-list
[Top] [All Lists]

Re: [xsl] REPOST - duplicate footnotes

2006-09-20 09:12:11


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.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>