xsl-list
[Top] [All Lists]

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

2010-05-07 08:17:49
David Carlisle wrote:

  Hi,

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

  For nodes, not for atomic items, of course.

<xsl:template match="/|node()" mode="unique-id">

  I guess you meant match="@*|node()" ;-)

  Regards,

-- 
Florent Georges
http://fgeorges.org






















      


--~------------------------------------------------------------------
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>
--~--