home contribute faq download

FunctX XSLT Functions

fn:default-collation

The default collation

Google
Webxsltfunctions.com

Description

The fn:default-collation function 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, http://www.w3.org/2005/xpath-functions/collation/codepoint.

This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book.

Arguments and Return Type

NameType
return value xs:string

Examples

XPath ExampleResultsExplanation
default-collation()
http://www.w3.org/2005/
xpath-functions/collation/codepoint
(for example, if that is the name of the default collation)

History

Published OnLast UpdatedContributor(s)
2006-06-272007-02-26W3C, XQuery 1.0 and XPath 2.0 Functions and Operators, http://www.w3.org/TR/xpath-functions/
Datypic XSLT Services

Recommended Reading:

XQuery