Subject: Re: [xsl] XPath (and other W3C drafts) From: Eliot Kimber <ekimber@xxxxxxxxxxxx> Date: Wed, 16 Dec 2009 10:01:37 -0600 |
On 12/16/09 9:57 AM, "Florent Georges" <lists@xxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPath (and other W3C draf, Florent Georges | Thread | RE: [xsl] XPath (and other W3C draf, Michael Kay |
Re: [xsl] Entities in XSLT (from XM, David Carlisle | Date | RE: [xsl] XSLT is not an editor [ w, Michael Kay |
Month |