The concept of default-collation is not a direct function in XQuery but rather a setting
or property that can affect XQuery expressions, particularly those dealing with
collation-sensitive operations such as string comparisons. XQuery relies on this default
collation to perform operations, such as sorting and comparing strings when a specific
collation is not provided.
Syntax
fn:default-collation()
Return Value
Returns the default collation that is used in most operations where a collation is
not explicitly specified. If no default collation is specified in the query prolog,
the function returns the system default collation. If no system default collation is
defined, the function returns a value representing the Unicode code point collation.
Example
The following expression represents the sample value and return
value: