The <xquery> element
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 |
Applies to |
Values |
Effect |
allowUpdate |
EE |
true|false |
Indicates whether XQuery Update syntax is accepted. |
constructionMode |
HE PE EE |
preserve|strip |
Default value for construction mode in the static context. |
defaultElementNamespace |
HE PE EE |
Namespace URI |
Default namespace for elements and types. |
defaultFunctionNamespace |
HE PE EE |
Namespace URI |
Default namespace for functions. |
emptyLeast |
HE PE EE |
true|false |
True if the empty sequence comes first in sort order. |
inheritNamespaces |
HE PE EE |
true|false |
Default value for "inherit namespaces" in the static context. |
moduleUriResolver |
HE PE EE |
Name of a class implementing ModuleURIResolver |
Used for locating query modules referenced by "import module". |
multipleModuleImports |
EE |
true|false |
If set to true, the XQuery processor attempts to fetch an XQuery module appearing in
an |
preserveBoundarySpace |
HE PE EE |
true|false |
Policy for preserving boundary space within direct element content. |
preserveNamespaces |
HE PE EE |
true|false |
Default value for "preserve namespaces" in the static context. |
requiredContextItemType |
HE PE EE |
An item type, e.g. |
The required type for the context item. |
schemaAware |
EE |
true|false |
True if the query makes use of schema information. |
staticErrorListener |
HE PE EE |
Name of a class implementing the JAXP interface ErrorListener |
Receives notification of static errors occurring in a Query. |
version |
EE |
1.0|3.0 |
Indicates whether XQuery 3.0 syntax is accepted. |