This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: for each and count problems
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: for each and count problems
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 16 Nov 2000 17:37:08 -0000
- Reply-To: xsl-list at mulberrytech dot com
> 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