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

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.