MarkLogic 12 EA 1 Product Documentation
cts.documentRootQuery

cts.documentRootQuery(
   root as xs.QName
) as cts.documentRootQuery

Summary

Returns a query matching documents with a given root element.

Parameters
root The root QName to query.

Example

  cts.documentRootQuery(xs.QName("ROOT"))
  => Match documents with root element 'root'.
Powered by MarkLogic Server | Terms of Use | Privacy Policy