cts:reference-scalar-type( $index as cts:reference ) as xs:string
Accessor for the scalar type of a reference to a value lexicon.
Parameters | |
---|---|
index | The value lexicon reference, as created from cts:element-reference, for example. |
cts:reference-scalar-type(cts:element-reference(xs:QName("TITLE")))
=>
"string"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.