Subject: Re: creating attributes from preceding element..
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Sun, 20 Nov 2005 23:01:17 -0800 (PST)
|
Hello Ragulf,
Thanks a lot :)
Regards,
Raj
--- Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> wrote:
> 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 :-)
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
|