xsl-list
[Top] [All Lists]

Re: [xsl] Nicer way to change context-node than xsl:for-each ?

2009-12-06 07:26:28
Mukul Gandhi wrote:

  Hi,

I guess, xsl:call-template is retained in XSLT 2.0 due to
backward compatibility with XSLT 1.

  Named templates and functions are not the same beasts.  The first difference 
that come to my mind is that the sequence ctor of a function is always 
evaluated in temporary output state.

  But true, for some usages (a lot of usage, for a right definition of "a lot") 
a function can be used instead of a named template.

  Regards,

-- 
Florent Georges
http://www.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>
--~--

<Prev in Thread] Current Thread [Next in Thread>