Re: implement for loop with XSLT
> I am a bit stunned at how intricate this code looks. It only _looks_ bad. If you close your eyes then it seems a lot better. Specifically the syntax for parameters in XSL is verbode, even by the standards of XML, so anything that calls a template with a couple or more parameters looks far worse than it is. Howver this is just surface syntax, if you think of the template call as f(x,y) then you'll see that the overhead isn't really very much in the recursive call. 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format