cts:reverse-query-nodes( $query as cts:reverse-query ) as node()*
Returns the nodes used to construct the specified query.
Parameters | |
---|---|
query | A query. |
let $query := <query>{cts:word-query("hello")}</query>
let $x := <bar>hello</bar>
let $rev := cts:reverse-query($x)
return cts:reverse-query-nodes($rev)
=> <bar>hello</bar>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.