XPath and XQuery Syntax Extensions

Saxon provides a number of extensions to XPath and XQuery syntax. Because use of these extensions makes your code non-conformant with W3C specifications, these extensions are available only if explicitly enabled. This can be achieved using the configuration option Feature.ALLOW_SYNTAX_EXTENSIONS (use --allowSyntaxExtensions:on on the command line, or global/@allowSyntaxExtensions="true" in the configuration file).

Like other Saxon extensions, these require Saxon-PE or higher.

Further information:

For details of additional extensions available in XQuery only, see XQuery Extensions.