RE: Is xsl:for-each "syntactic sugar"?
> >> 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
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