xdmp:collation-canonical-uri( $collation-uri as xs:string ) as xs:string
Returns the canonical URI for the given URI, if it represents a valid collation. A canonical URI is the unique string MarkLogic Server uses to identify a given collation. The canonical URI string places any attributes that occur in the URI in a predefined order, and it removes any attributes that are redundant due to locale defaults.
Parameters | |
---|---|
collation-uri | A collation URI. |
xdmp:collation-canonical-uri("http://marklogic.com/collation/en/S3") => http://marklogic.com/collation/en