[Home] [By Thread] [By Date] [Recent Entries]
> <xsl:for-each select="element">
> <a
> href="url&currentid={id}&previousid={preceding::id[1]}&am
^^^
That is select the first in reverse axis order. Without the predicate the
expression will select all preceding id elements and when you retrieve the
string value for the results of the expression, it will select the first
node ín document order.
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



