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

Re: implement for loop with XSLT

Subject: Re: implement for loop with XSLT
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Mar 2001 15:54:33 +0100 (MET)
loops in xslt
Hi,

> > I came up with the enclosed code to grab the value of an <n> element
> > and generate a list of integers and their squares between 1 and n:
> > [ ... ]
> > If I am stuck with this recursive solution, is there a way
> Well, recursion is the only way using a functional programming language,
> and there is nothing bad about it.
> 
> Somewhere on the web, there is an XSL-T preprocessor that allows you
> write for, while and until loops, 
[...]

Just for the sake of completeness - here is the link:
http://www.informatik.hu-berlin.de/~obecker/XSLT/#loop-compiler
(but I never talked about until-loops ;-) maybe someone else?)

Cheers,
Oliver


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 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.