Revision [694]

This is an old revision of XPathExtension made by DavidLee on 2009-08-27 11:01:51.


XPath Extensions

With Version an XPath extension is available in xmlsh which allows calling into xmlsh from with any xpath context including xpath, xlst, xquery, and the builtin &lt[ ... ]> commands.

To use this extension you need to use the saxon syntax for binding java extensions to saxon. (Note: this may change in the future, in particular if xmlsh is upgraded to use Saxon 9.2).

The java class to import is org.xmlsh.xpath.XPathFunctions
This can be done in the shell, or within an xslt or xquery script itself by using "declare namespace"
declare namespace xmlsh=java:org.xmlsh.xpath.XPathFunctions

Extension functions implemented


There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki