Thanks Kelly for your response,
     We have fragment roots configured on these documents since each
document can have large number ( about few 100,000's ) of such nodes..  That
is the reason why i am using cts:search to search within a document. I shall
try using the query below as well.. and see which would be a better way to
do it.  Let me know if you have more suggestions on this.
    fn:doc($doc)//node()[fn:node-name(.) eq
$node-name][cts:contains(.,$query)]
Regards,
Abishek
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to