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.
----- Original Message ----
From: Dannes Wessels <dizzzz@...>
To: Timothy Washington <timothyjwashington@...>
Sent: Wednesday, September 17, 2008 3:02:18 AM
Subject: Re: [Exist-open] Engineering Tradeoffs
On Wed, Sep 17, 2008 at 3:36 AM, Timothy Washington <timothyjwashington@...> 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....
eXist-db Native XML Database
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
Get latest updates about Open Source Projects, Conferences and News.