Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.