RE: [xsl] REPOST - duplicate footnotes

Subject: RE: [xsl] REPOST - duplicate footnotes
From: "Ann Marie Rubin \(anrubin\)" <anrubin@xxxxxxxxx>
Date: Wed, 20 Sep 2006 09:44:40 -0700
 I'll do that and let you know how it goes.

Thanks for the debugging tips.

Regards,

Ann Marie


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Wednesday, September 20, 2006 12:12 PM
To: Ann Marie Rubin (anrubin)
Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] REPOST - duplicate footnotes



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

Current Thread