MarkLogic 12 EA 1 Product Documentation
cts:reference-scalar-type

cts:reference-scalar-type(
   $index as cts:reference
) as xs:string

Summary

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.

Example

cts:reference-scalar-type(cts:element-reference(xs:QName("TITLE")))
=>
"string"
Powered by MarkLogic Server | Terms of Use | Privacy Policy