Loading TOC...

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""

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