| 
 
Subject: RE: [xsl] following and preceding From: Jarno.Elovirta@xxxxxxxxx Date: Mon, 13 Aug 2001 11:47:25 +0300  | 
> <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
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] following and preceding, Meltem Kogelbauer | Thread | [xsl] XSL (XSLFO) DTD, Tobias Reif | 
| [xsl] Re: sqrt, Aleksei Valikov | Date | [xsl] XSL (XSLFO) DTD, Tobias Reif | 
| Month |