| 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 | 
|---|
| 
 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Add order of nodes, Robert Soesemann | Thread | Re: [xsl] Add order of nodes, Joris Gillis | 
| Re: [xsl] Add order of nodes, David Carlisle | Date | Re: [xsl] Add order of nodes, Joris Gillis | 
| Month |