
cts:document-root-query-root( $query as cts:document-root-query ) as xs:QName
Returns the QName used to construct the specified query.
| Parameters | |
|---|---|
| query | A query. |
cts:document-root-query-root(cts:document-root-query("ROOT"))
=> "ROOT""
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.