xsl-list
[Top] [All Lists]

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

2011-01-30 19:27:20
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.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>