xsl-list
[Top] [All Lists]

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

2009-12-06 20:49:47
On Sun, Dec 6, 2009 at 5:55 PM, Florent Georges <lists(_at_)fgeorges(_dot_)org> 
wrote:
 The first difference that come to my mind is that the sequence ctor of a 
function is always evaluated in temporary output state.

That's correct I think. The sequence constructor of xsl:function just
computes what to return from the function. The function returns, a
sequence finally (I think, generically any XDM primitive).

Whereas instructions in body of, xsl:call-template actually
contributes to the output of the template (call-template!).


-- 
Regards,
Mukul Gandhi

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