[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Incrementing a Global variable


Subject: Re: [xsl] Incrementing a Global variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 28 Aug 2003 10:17:43 +0100

  for (int i=0; i < n; i++) , it will facilitate
  processing loops in a diffrent way. Presently for-each
  loop iterate over *node sets*. I guess these things
  might be added to XSLT without deviating from the
  objective to keep XSLT as a functional language.

That is exactly deviating from the functional language paradigm.
You don't need it anyway iteration is just (logically) syntactic sugar
for recursion which is the more natural way to think about things
anyway.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



Current Thread
Keywords