[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] Is xsl:for-each "syntactic sugar"?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 May 2010 15:29:53 +0100

> Not "many", all uses of for-each can be equivalently handled 
> by apply-templates.
> 

Only if the select expression selects nodes (rather than atomic values). But
XSLT 2.1 will remove this remaining difference.

Regards,

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


Current Thread
Keywords