[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Incrementing a Global variable

Subject: Re: Incrementing a Global variable
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Wed, 27 Aug 2003 13:10:32 -0400
Re:  Incrementing a Global variable

The XPath 2.0 draft has a "for" construct. Sometimes this will do what you want (for simple things), and sometimes you will still need recursive template or function calls.



Mukul Gandhi wrote:
The XSLs (by Jarno and by -- Americo) are brilliant..
I was trying to solve the problem, but could'nt come
up with the solution soon..


Though the issue about incrementing the variables has
been discussed a lot on this list, I feel if there is
a feature where some sort of variable incrmenting is
possible in XSLT, it will save lot of programming
hours producing a trivial thing as generating serial
nos. I am not suggesting to deviate from the viewpoint
that XSLT should be a functional language.


...

The XSLT 2.0 spec is in draft stage. If appropriate, these features can be thought to be added. Probably more knowledgeable persons on this list -- M. Kay, Dimitre, David Carlisle, Dave Pawson, Wendell, Jeni, Jarno, Americo.. can comment on the appropriateness of this idea ;)

Regards,
Mukul




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.