[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: Using position() to retrieve corresponding value in another node


Subject: [xsl] Re: Using position() to retrieve corresponding value in another node
From: John Brown <johnbrown105@xxxxxxxxxxx>
Date: Mon, 31 Jan 2011 01:26:58 +0000 (UTC)

David Carlisle <davidc <at> nag.co.uk> writes:

> 
> 
> You want
> 
> <xsl:for-each...>
>    <xsl:variable name="p" select="position()"/>
>    <xsl:value-of select=....field[position()=$p]
> 
> David
> 

That was quick! Thanks.

Regards,
Alias John Brown.


Current Thread