xsl-list
[Top] [All Lists]

Re: [xsl] XSLT Dead?

2007-04-17 13:06:49

Ahh, give and take. For-each is given nodes and apply-templates takes
nodes it "wants". I think I see.

for-each is often used more with "pull" style, but actually it's
misleading (if educationally helpful) to characterise them this way.
for-each is equivalent to for-each in a unique mode with a single
template that matches node() (except in xslt2 where it would have to
math item() which isn't allowed).

David

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