Syntax Extensions
Saxon (from 9.8) 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
FeatureKeys.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: