This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: implement for loop with XSLT
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] implement for loop with XSLT
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 19 Mar 2001 09:22:34 GMT
- References: <20010318201429.50138.qmail@web12606.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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