[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: REPOST - duplicate footnotes

Subject: Re: REPOST - duplicate footnotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Sep 2006 17:11:42 +0100
Re:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.