MarkLogic 9 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)
Powered by MarkLogic Server | Terms of Use | Privacy Policy