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 |
|
EE |
true|false |
Indicates whether XQuery Update syntax is accepted. |
|
HE PE EE |
preserve|strip |
Default value for construction mode in the static context. |
|
HE PE EE |
Namespace URI |
Default namespace for elements and types. |
|
HE PE EE |
Namespace URI |
Default namespace for functions. |
|
HE PE EE |
true|false |
True if the empty sequence comes first in sort order. |
|
HE PE EE |
true|false |
Default value for "inherit namespaces" in the static context. |
|
HE PE EE |
Name of a class implementing ModuleURIResolver |
Used for locating query modules referenced by "import module". |
|
EE |
true|false |
If set to true, the XQuery processor attempts to fetch an XQuery module appearing in
an |
|
HE PE EE |
true|false |
Policy for preserving boundary space within direct element content. |
|
HE PE EE |
true|false |
Default value for "preserve namespaces" in the static context. |
|
HE PE EE |
An item type, e.g. |
The required type for the context item. |
|
EE |
true|false |
True if the query makes use of schema information. |
|
HE PE EE |
Name of a class implementing the JAXP interface ErrorListener |
Receives notification of static errors occurring in a Query. |
|
HE PE EE |
1.0|3.0|3.1 |
Indicates whether XQuery 3.0 or 3.1 syntax is accepted. From Saxon 9.8, an XQuery 3.1 processor is always used by default. So setting this property has no effect. |