This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]