[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Stumped on XPath
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 14 Feb 2006 10:22:26 GMT
So in fact your <id> elements are referencing appendices not notes.
My basic principle applies (go to the referenced node) just the code
needs changing.

change the key so that it has
match="appendix" use="refnote/@id"
so then on the template for id when you go
<xsl:for-each select="key('id',@ref)">
 <xsl:number format="A"/>
then xsl:number will be numbering appendices not refnotes.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member