On 12/16/09 9:57 AM, "Florent Georges" <lists(_at_)fgeorges(_dot_)org> wrote:
Eliot Kimber wrote:
At the risk of seeming dim or lazy or both, can someone
explain the implications of these new features?
Using 'let', you can bind a variable directly in XPath. There
is of course no impact on XQuery. In XSLT, that is sometimes
convenient to be able to write a single XPath expression without
requiring to split it into several expressions or to write a
stylesheet function. And that's important too for other host
languages.
Using first-class function items, you can manipulate functions
as items. For instance, you can pass a function as parameter to
another function. Think for instance about a sorting function,
taking a function item parameter to compare two items:
Got it--thanks!
I'm assuming that Saxon will or has already implemented these new
features...?
Cheers,
Eliot
--
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com
--~------------------------------------------------------------------
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>
--~--