cts:similar-query-nodes( $query as cts:similar-query ) as node()*
Returns the nodes used to construct the specified query.
let $query := cts:similar-query(fn:doc("/mydoc.xml")) return cts:similar-query-nodes($query)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.