Loading TOC...


   $element as xs.QName,
   $attribute as xs.QName,
   [$options as String[]]
) as cts.reference


Creates a reference to an element attribute value lexicon, for use as a parameter to cts:value-tuples. Since lexicons are implemented with range indexes, this function will throw an exception if the specified range index does not exist.

$element An element QName.
$attribute An attribute QName.
$options Options. The default is ().

Options include:

Use the lexicon with the type specified by type (int, unsignedInt, long, unsignedLong, float, double, decimal, dateTime, time, date, gYearMonth, gYear, gMonth, gDay, yearMonthDuration, dayTimeDuration, string, anyURI, point, or long-lat-point)
Use the lexicon with the collation specified by URI.
Use the given coordinate system. Possible values are "wgs84" and "raw".
Allow null values in tuples reported from cts:value-tuples when using this lexicon.
Read the scalar type, collation and coordinate-system info only from the input. Do not check the definition against the context database.


cts.elementAttributeReference(xs.QName("SONG"), xs.QName("rating"));


    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy