Loading TOC...
Matches for cat:function/javascript (cts:uris) have been highlighted. remove

MarkLogic Server 11.0 Product Documentation
cts.documentFormatQuery

cts.documentFormatQuery(
   format as String
) as cts.documentFormatQuery

Summary

Returns a query matching documents of a given format.

Parameters
format Case insensitve one of: "json","xml","text","binary". This will result in a XDMP-ARG exception in case of an invalid format.

Example

  cts.uris(null,null,cts.documentFormatQuery("xml"))
  => .. Return all XML documents URIs.

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