Re: [xsl] Counting preceding nodes

Subject: Re: [xsl] Counting preceding nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 Jan 2005 16:29:16 GMT
<xsl:number level="any" from="level1"/>

but if you really need xpath then

count(preceding-sibling::level3) + count(../preceding-sibling::*/level3)

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