Re: [xsl] how to add a cell in a for-each iteration?

Subject: Re: [xsl] how to add a cell in a for-each iteration?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 30 Jul 2002 13:04:15 +0100
> but it seems that inside the for-each cycle it ain't change its value.

variables never change their value.

There is an example doing this in the XSLT spec (using , instead of |)
Just use
<xsl:if test="position() &lt; last()">|</xsl:if>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread