Subject: Re: [xsl] Incrementing a Variable From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 11 May 2001 00:39:15 +0100 |
> It was my understanding that you can increment a variable in xsl by 1, say > during each pass of a for loop. Is this true and if not, what's the best way > to achieve this? It's not true so you can't achieve it. (In particuar you shouldn't assume that a for-each is a "loop" that is executed sequentially, it's better to think of it as acting in parallel (even though implementations may be sequential today). If you said what you were trying to do then someone could probably tell you how to do it in XSL, but variable,s once bound, don't change their values. nDavid _____________________________________________________________________ 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Incrementing a Variable, Jeni Tennison | Thread | RE: [xsl] Incrementing a Variable, Tim Watts |
Re: [xsl] key with restricting the , Dan Diebolt | Date | Re: [xsl] Incrementing a Variable, David Carlisle |
Month |