MarkLogic 12 EA 1 Product Documentation
cts:document-root-query-root

cts:document-root-query-root(
   $query as cts:document-root-query
) as xs:QName

Summary

Returns the QName used to construct the specified query.

Parameters
query A query.

Example

  cts:document-root-query-root(cts:document-root-query("ROOT"))
  => "ROOT""
Powered by MarkLogic Server | Terms of Use | Privacy Policy