Geert, I realize that I could use xdmp:unpath to convert a string to xpath. xdmp:unpath could help you accomplish Dynamic Xpaths. Thanks for your help! Regards, Abishek
On Fri, Feb 18, 2011 at 1:28 PM, Abishek N <abishe...@gmail.com> wrote: > 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 > > -- Regards Abishek
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general