Loading TOC...

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

cts:element-query-query(
   $query as cts:element-query
) as cts:query

Summary

Returns the query used to construct the element query.

Parameters
query A query.

Example

let $query := cts:element-query(xs:QName("help"),
                 cts:word-query("wanted"))
return cts:element-query-query($query)

  => cts:word-query("wanted", (), 1)

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