Hi Abishek, If you have many repeating structures in one document, you will be far better served by breaking those structures into separate documents rather than keeping them all in one document. In other words, it sounds like you are representing tables with documents, and instead you should think about documents representing rows.
You can look at RecordLoader as a tool to help you break the large documents into smaller documents. This tool can be found on developer.marklogic.com. Kelly From: [email protected] [mailto:[email protected]] On Behalf Of Abishek N Sent: Friday, February 18, 2011 1:29 PM To: [email protected] Subject: Re: [MarkLogic Dev General] xs:string to xpath 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 [email protected] http://developer.marklogic.com/mailman/listinfo/general
