Loading TOC...

cts:range-query-value

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

Summary

Returns the value used to construct the specified query.

Parameters
$query A query.

Example

let $query := cts:range-query(xs:QName("date"), "<=",
      xs:date("2000-01-01"))
return
cts: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.