MarkLogic 9 Product Documentation
sql:collatedString-collation

sql:collatedString-collation(
   $val as sql:collatedString
) as xs:string

Summary

Returns the collation of an sql:collatedString value.

This function is a built-in.

Parameters
val The sql:collatedString value.

Example

sql:collatedString-collation(sql:collatedString("http://foo/bar", "http://marklogic.com/collation/codepoint"))
=> http://marklogic.com/collation/codepoint
Powered by MarkLogic Server | Terms of Use | Privacy Policy