base-uri
() as xs:string? external
Gets the base URI. |
boundary-space-policy
() as xs:string external
Gets the boundary whitespace policy used by direct element constructors. |
construction-mode
() as xs:string external
Gets the static context construction mode of element and document nodes. |
copy-namespaces-mode
() as xs:string+ external
Gets the static context components that control the the namespace bindings that are assigned when an existing element node is copied by an element constructor. |
default-collation
() as xs:string external
Gets one of statically known collations used by functions and operators for comparing and ordering values of type xs:string or xs:anyURI when no explicit collation is specified. |
default-collection-type
() as xs:string external
Gets the statically known default collection type. |
default-function-namespace
() as xs:string external
Gets the URI of the default function namespace. |
default-order
() as xs:string external
Gets the component that controls the processing of empty sequences and NaN values as ordering keys in an order by clause in a FLWOR expression. |
function-annotations
($name as xs:QName, $arity as xs:integer) as xs:QName* external
Gets the list of annotations declared for the given function. |
function-arguments-count
($function as xs:QName) as xs:int* external
Gets the number of arguments the given XQuery function takes. |
function-names
() as xs:QName* external
Gets a sequence containing the QNames of all defined functions that are available to be called from within an expression. |
functions
() as object()* external
Gets a sequence of JSON objects containing the name, arity, and annotations of all defined functions that are available to be called form within an expression. |
in-scope-attribute-declarations
() as xs:QName* external
Gets a sequence of QNames identifying declared attributes in the imported schemas. |
in-scope-attribute-groups
() as xs:QName* external
Gets a sequence of QNames identifying declared in-scope schema attribute groups. |
in-scope-element-declarations
() as xs:QName* external
Gets a sequence of QNames identifying declared elements in the imported schemas. |
in-scope-element-groups
() as xs:QName* external
Gets a sequence of QNames identifying declared in-scope schema element groups. |
in-scope-schema-types
() as xs:QName* external
Gets a sequence of QNames identifying in-scope schema types including all the predefined schema types and all definitions found in imported schemas. |
in-scope-variables
() as xs:QName* external
Gets a sequence of QNames identifying declared variables from the static context. |
option
($name as xs:QName) as xs:string? external
Gets the value of an option that is declared in the prolog of the module. |
ordering-mode
() as xs:string external
Gets the ordering mode that affects the ordering of the result sequences returned by certain expressions. |
statically-known-collations
() as xs:anyURI* external
Gets a sequence that contains the statically known collations. |
statically-known-document-type
($document as xs:string) as xs:QName external
For the given document, returns the static type of its root node. |
statically-known-documents
() as xs:anyURI* external
Gets a sequence that contains the URIs of all statically known documents. |
statically-known-namespace-binding
($prefix as xs:string) as xs:string? external
Gets the bound URI for the given prefix. |
statically-known-namespaces
() as xs:string* external
Gets a list of known statically known namespaces as prefixes (fn, xml, xs, xsi, etc). |
xpath10-compatibility-mode
() as xs:boolean external
Gets true or false depending on whether rules for compatibility with XPath 1. |
declare function sctx:base-uri() as xs:string? external
declare function sctx:boundary-space-policy() as xs:string external
preserve
or strip
.declare function sctx:construction-mode() as xs:string external
preserve
or strip
.declare function sctx:copy-namespaces-mode() as xs:string+ external
preserve
or no-preserve
and the second is either inherit
or no-inherit
.declare function sctx:default-collation() as xs:string external
xs:string
or xs:anyURI
when no explicit collation is specified.
declare function sctx:default-collection-type() as xs:string external
fn:collection
function with no arguments.
declare function sctx:default-function-namespace() as xs:string external
declare function sctx:default-order() as xs:string external
order by
clause
in a FLWOR expression.
greatest
or least
.declare function sctx:function-annotations($name as xs:QName, $arity as xs:integer) as xs:QName* external
declare function sctx:function-arguments-count($function as xs:QName) as xs:int* external
declare function sctx:function-names() as xs:QName* external
declare function sctx:functions() as object()* external
declare function sctx:in-scope-attribute-declarations() as xs:QName* external
declare function sctx:in-scope-attribute-groups() as xs:QName* external
declare function sctx:in-scope-element-declarations() as xs:QName* external
declare function sctx:in-scope-element-groups() as xs:QName* external
declare function sctx:in-scope-schema-types() as xs:QName* external
declare function sctx:in-scope-variables() as xs:QName* external
declare function sctx:option($name as xs:QName) as xs:string? external
declare function sctx:ordering-mode() as xs:string external
ordered
or unordered
.declare function sctx:statically-known-collations() as xs:anyURI* external
declare function sctx:statically-known-document-type($document as xs:string) as xs:QName external
declare function sctx:statically-known-documents() as xs:anyURI* external
declare function sctx:statically-known-namespace-binding($prefix as xs:string) as xs:string? external
declare function sctx:statically-known-namespaces() as xs:string* external
declare function sctx:xpath10-compatibility-mode() as xs:boolean external
false
.