
cts:document-root-query( $root as xs:QName ) as cts:document-root-query
Returns a query matching documents with a given root element.
| Parameters | |
|---|---|
| root | The root QName to query. | 
  cts:document-root-query(xs:QName("root"))
  => Match documents with root element 'root'.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.