[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XPath queries
- To: Scott Raven <firstname.lastname@example.org>, <email@example.com>
- Subject: Re: XPath queries
- From: Falko Braeutigam <firstname.lastname@example.org>
- Date: Tue, 1 May 2001 14:35:36 +0200
- Delivered-To: softw7-ozone-db:email@example.com
- In-Reply-To: <E14uMDj-0002Blfirstname.lastname@example.org>
- Organization: SMB
- References: <E14uMDj-0002Blemail@example.com>
On Tue, 01 May 2001, Scott Raven wrote:
> Hi - I am new to ozone, please pardon my ignorance :)
> I have installed 1.0 and have the samples running, and have explored
> the API docs and the archives of this list for the last couple
> Here is my question:
> I would like to be able to search the database for documents
> containing specific values for specific elements (or use "contains").
> (Not a huge number of documents, let's say for sake of an example,
> 2500, and they are fairly small, as well (say 100K each).)
> I was thinking that I could use objectsByClass to get a list (ok,
> array) from the database, and apply an XPath query to each one. I
> have read in the archives that objectsOfClass might go by the
Yes, objectsOfClass is not implemented and will be removed.
The current ozone/XML API is not intented to serve as a full blown document
server or something like that. Its a very basic API to just
store/retrieve/xpath documents. So, if you need to search in a collection of
documents then you have to manage this collection 'by hand' - just like a
collection of objects.
We have started to work to support the API of xmldb.org. Lars has posted a
proposal recently. Thsi API has collections build-in.
Falko Braeutigam mailto:firstname.lastname@example.org
SMB GmbH http://www.smb-tec.com