| 
 
Subject: RE: for each and count problems From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 16 Nov 2000 17:37:08 -0000  | 
> 	I have the following code:
> 	<xsl:for-each select="$elem">				  
>     	<a href="{$url}">
> The problem is that I would like to give a parameter named 
> index to each href to obtain the following result:
> For the first elem element: href="{$url}?index=1"
> For the second elem element: href="{$url}?index=2"
<a href="{$url}?index={position()}">
Mike Kay
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: for each and count problems, David Carlisle | Thread | Accessing nodes, Mateja Mikek | 
| RE: Handling in a xml-doc from Java, Kay Michael | Date | RE: Accessing nodes, Kay Michael | 
| Month |