Loading TOC...
Matches for cat:function (cat:function (cat:function/javascript (cat:function/javascript (cat:function/javascript (cat:function ((cts:reference) AND cat:function)))))) have been highlighted. remove

MarkLogic Server 11.0 Product Documentation
cts.referenceCollation

cts.referenceCollation(
   index as cts.reference
) as String

Summary

Accessor for the collation of a reference to a string value lexicon.

Parameters
index The value lexicon reference, as created from cts:element-reference, for example.

Example

cts.referenceCollation(cts.elementReference(xs.QName("TITLE")));
=>
"http://marklogic.com/collation/"

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