[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] ANN: Function Composition and Recursion in XPath 3.0


Subject: [xsl] ANN: Function Composition and Recursion in XPath 3.0
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Wed, 17 Oct 2012 10:37:02 +0000

Hi Folks,

XPath has become a much more functional language with the arrival of XPath
3.0. That is very exciting.

This paper shows how to implement, using XPath 3.0, two key functional
capabilities:

1.	function composition
2.	recursion

These capabilities will be implemented using unnamed (anonymous) functions.

At the time of this writing the XPath specification is still a working draft.
Nonetheless, SAXON has implemented all the capabilities described in this
paper. So, you can experiment with these capabilities today.

Thanks to Dimitre Novatchev and Michael Kay for showing me how to implement
these capabilities.

More ...
http://www.xfront.com/XPath3-0/Function-Composition-and-Recursion-in-XPath-3.
pdf

/Roger


Current Thread
Keywords