Re: [xsl] Add order of nodes

Subject: Re: [xsl] Add order of nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 9 Feb 2005 12:07:42 GMT
> This does not work as there may be other nodes between a
and we were supposed to know that?:-)
in that case change the answer to "can I use position()" to "no"
use instead something like
   <xsl:attribute name="pos">
     <xsl:value-of select="count(preceding-sibling::fragment)+1"/>
   </xsl:attribute>

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