From: Timothy W. <tim...@ya...> - 2008-09-17 06:29:02
|
Hi Dannes , thanks for the feedback. I wasn't sure if XPath accommodated directories (collections). I didn't think so, but I wanted to check. In that case, I'll have to come up with a mapping where children of a collection will be child nodes of an element. The reason I asked that question was because I know eXists's indexing scheme is supposed to be very efficient. So my application will have i) large XML documents ii) frequently updated that iii) will constantly grow. So I'm trying to decide if and where to use collections. Cheers Tim ----- Original Message ---- From: Dannes Wessels <di...@ex...> To: Timothy Washington <tim...@ya...> Cc: exi...@li... Sent: Wednesday, September 17, 2008 3:02:18 AM Subject: Re: [Exist-open] Engineering Tradeoffs Hi, On Wed, Sep 17, 2008 at 3:36 AM, Timothy Washington <tim...@ya...> wrote: C) Is it more efficient to use sub-directories (fig. 3) or a full document (fig. 2) if I use the xpath expression ( //aa//dd ). Hmmmm there is no 'out of the box' answer for this. It really depends on the number of documents you think that will be present etc. Further more, fig 3. does not make sense, right? a collection in an xml element does not make sense.... regards Dannes -- eXist-db Native XML Database http://exist-db.org __________________________________________________________________ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca |