Hi All, Is it possible to do a Marklogic cts:search query to compare between the two XML elements in a document? After the search, we can compare it with fn:compare. But I would like to compare during the search. Any help is much appreciated. Thanks, Abdul