|
Subject: Re: [xsl] Using position() to retrieve corresponding value in another node From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 31 Jan 2011 01:02:44 +0000 |
if you use a numeric constrict in a filter like field[1] it is short for the predicate field [position()=1]
<xsl:for-each...> <xsl:variable name="p" select="position()"/> <xsl:value-of select=....field[position()=$p]
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Using position() to retrieve , John Brown | Thread | [xsl] Re: Using position() to retri, John Brown |
| [xsl] Using position() to retrieve , John Brown | Date | [xsl] Re: Using position() to retri, John Brown |
| Month |