Subject: Re: [xsl] New XSLT 3.0 Working Draft From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 11 Jul 2012 09:42:34 +0100 |
Yes, partial evaluation is available. For example:- Higher-order functions -
More an XPath feature than an XSLT one, functions are now first-class values and can be passed as parameters to functions, returned by functions, held in maps, etc etc.
Given the way unsupplied parameters are currently treated will we have partial evaluation ?
yes, closures are available.
Will we have closures?
Will tunneled variables form part of the environment?Tunnel parameters are available to templates but not directly to functions. But if a function is declared within a template, the template parameters form part of the function's closure just like any other variable (whether they are tunnel parameters or not). Memo to self: test this!
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] New XSLT 3.0 Working Draf, Ihe Onwuka | Thread | Re: [xsl] New XSLT 3.0 Working Draf, Ihe Onwuka |
Re: [xsl] New XSLT 3.0 Working Draf, Michael Kay | Date | Re: [xsl] New XSLT 3.0 Working Draf, Ihe Onwuka |
Month |