Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts:element-range-query-value

cts:element-range-query-value(
   $query as cts:element-range-query
) as xs:anyAtomicType*

Summary

Returns the value used to construct the specified query.

Parameters
query A query.

Example

let $query := cts:element-range-query(xs:QName("date"), "<=",
      xs:date("2000-01-01"))
return
cts:element-range-query-value($query)
  =>
     "2000-01-01" (as an xs.date)

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