Loading TOC...

cts:query

cts:query(
   $query as node()
) as cts:query

Summary

Creates a query.

Parameters
query A query.

Example

cts:query(
  <cts:word-query xmlns:cts="http://marklogic.com/cts">
    <cts:text>word</cts:text>
  </cts:word-query>
)

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