xsl-list
[Top] [All Lists]

RE: [xsl] Is xsl:for-each "syntactic sugar"?

2010-05-07 12:27:45

4. Favor recursive functions over xsl:for-each. (True or False)

Totally wrong, as it is much more complex to read and 
understand as a 
simple loop.

Very interesting -- my experience with XSLT is completely different.
I think the use of apply-templates with a mode is much easier 
to read and understand than for-each.

I think Roger was discussing for-each versus recursive functions, not
for-each versus apply-templates.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>