|
The FXSL functional programming library for XSLT makes it possible to dynamically generate new functions (and apply them). This can be done through a number of ways -- e.g. functional composition, partial application (currying) or what is equivalent to creation of new functions using lambda expressions.
Read for example:
http://www.idealliance.org/papers/extreme03/xslfo-pdf/2003/Novatchev01/EML2003Novatchev01.pdf
or the PPT presentation at:
http://www.idealliance.org/papers/extreme03/author-pkg/2003/Novatchev01/EML2003Novatchev01.zip
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
|