fn:default-language

Returns the value of the default language property from the dynamic context.

Signature

fn:default-language() as xs:language

Properties

This function is deterministic, context-dependent, and focus-independent. It depends on default language.

Rules

Returns the value of the default language property from the dynamic context. Components of the dynamic context are described in Dynamic Context.

Notes

The default language property can never be absent. The functions fn:format-integer, fn:format-date, fn:format-time, and fn:format-dateTime are defined to use the default language if no explicit language is supplied. The default language may play a role in selection of a default collation, but this is not a requirement.