Re: [xsl] dynamic function invocation

Subject: Re: [xsl] dynamic function invocation
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 29 Jul 2010 14:23:54 +0100
The XSLT 2.1 working draft supports XPath 2.1, which in turn supports higher order functions and dynamic function invocation (also partial function invocation, also known as currying). Saxon 9.2 EE offers this capability in XQuery, but not yet in XSLT. It will find its way into XSLT in the 9.3 release.

Meanwhile Saxon-EE has extensions to handle higher-order functions: see in particular saxon:function() and saxon:call(). And of course Dimitre Novatchev's FXSL library simulates first-class functions by building on top of xsl:apply-templates.

Michael Kay
Saxonica

Current Thread