Re: [xsl] creating attributes from preceding element..

Subject: Re: [xsl] creating attributes from preceding element..
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Mon, 21 Nov 2005 07:53:53 +0100
Hi Raj,

[position()] equals to [position()=position()] - like [1] equals to
[position()=1]

Try instead - right after your for-each starts:
<xsl:variable name="current-pos" select="position()"/>

And then use:
[position()=$current-pos]

Regards,
Ragulf Pickaxe :-)

Current Thread