fn:default-collation() as xs:string
Returns the value of the default collation property from the static context. Components of the static context are discussed in Section C.1 Static Context Components[XP].
The default collation property can never be undefined. If it is not
explicitly defined, a system defined default codepoint is used.
In the 1.0
XQuery dialect, if this is not provided, the Unicode
code point collation
(http://www.w3.org/2005/xpath-functions/collation/codepoint
) is used. In the 1.0-ml
and 0.9-ml
XQuery dialects,
the MarkLogic-defined codepoint URI is used
(http://marklogic.com/collation/codepoint
).
xquery version "1.0-ml"; declare default collation "http://marklogic.com/collation/codepoint"; fn:default-collation() => http://marklogic.com/collation/codepoint
xquery version "1.0"; declare default collation "http://marklogic.com/collation/codepoint"; fn:default-collation() => http://www.w3.org/2005/xpath-functions/collation/codepoint