The xquery
element of the configuration file contains properties specific to XQuery.
Remember that these are defaults, they can always
be overridden for specific queries. An attribute whose value is set to a zero-length string is ignored,
the effect is the same as omitting the attribute.
Attribute |
Values |
Effect |
allowUpdate |
true|false |
Indicates whether XQuery Update syntax is accepted |
constructionMode |
preserve|strip |
Default value for construction mode in the static context |
defaultElementNamespace |
A namespace URI |
Default namespace for elements and types |
defaultFunctionNamespace |
A namespace URI |
Default namespace for functions |
emptyLeast |
true|false |
True if the empty sequence comes first in sort order |
inheritNamespaces |
true|false |
Default value for "inherit namespaces" in the static context |
moduleUriResolver |
Class that implements the Saxon ModuleURIResolver interface |
Used for locating query modules referenced by "import module" |
preserveBoundarySpace |
true|false |
Policy for preserving boundary space within direct element content |
preserveNamespaces |
true|false |
Default value for "preserve namespaces" in the static context |
requiredContextItemType |
An item type, e.g. document-node() |
The required type for the context item |
schemaAware |
true|false |
True if the query makes use of schema information |
staticErrorListener |
Class that implements JAXP ErrorListener |
Receives notification of static errors occurring in a Query |
version |
1.0|1.1 |
Indicates whether XQuery 1.1 syntax is accepted |