This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: position in a conditional for-each
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] position in a conditional for-each
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 4 Jan 2001 10:09:59 GMT
- References: <000a01c075c3$563d62f0$2b00330a@ndexsystems.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
The only solution I can think of is to create a
stringBuffer which is updated each time through the
condition, then create a substring of that for display.
But I don't know how to create a 'local variable'.
You can not change the value of a variable once it is bound.
The question of not putting a comma after the last element is an
explicit example in the XSLT spec.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list