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

Subject: Re: [xsl] Is xsl:for-each "syntactic sugar"?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 7 May 2010 08:50:54 -0700
On Fri, May 7, 2010 at 7:29 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>>
>> 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.


Wow...  This is great!

>
> Regards,
>
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay
>
>



--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
I enjoy the massacre of ads. This sentence will slaughter ads without
a messy bloodbath.

Current Thread