Re: [xsl] counting the preceding cousins of an element

Subject: Re: [xsl] counting the preceding cousins of an element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Jun 2006 09:53:42 +0100
If your footnotes are all at the same level (so you really do want first
cousins) then preceding cousings are either preceding siblings, or
children of preceding siblins of your parents so

preceding-sibling::footnote | ../preceding-sibling::para/footnote

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