Altova Mailing List Archives


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

From: Florent Georges <lists@--------.--->
To: xsl-list@-----.------------.---
Date: 12/6/2009 12:26:00 PM
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@l...>
--~--

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.