Hello
Laxma,
thank you
for your answer.
We want to
store XML eLearning-Content with Xindice. The collections are organized as our
project structure. Within a project-collection, the are multiple collections in
which we store the content of certain paragraphs of our project. Here's an
example:
/db
/db/project1: eCommerce
/db/project1/b2b
/db/project1/b2c
/db/project1/b2g
/db/project2:
SCM
/db/project2/introdution
/db/project2/scor
Now we want to query XML-Documents within the whole
database, which match certain patterns, e.g.
author=Sven.
If xindice can't do the job, I'll write a method, which
does the query recursively for the whole
collection-structure.
Best
regards,
Sven
Pfeuffer.
--
Sven Pfeuffer
*** mailbox@pfeuffer-net.de
-----Original Message-----
From: Laxma Reddy Dendi [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 22, 2004 10:21 AM
To: xindice-users@xml.apache.org
Subject: Re: xpath query against a collection-hierarchyHi Sven:this kind of function/query (against multiple collections) does not make sense to me.is querying sub collections ok??why you want to do such query..? can you explain your collections details.regardsLaxma Dendi
Laxma Reddy Dendi <[EMAIL PROTECTED]> wrote:Hi Sven:I think this function is not supported by xindice.I dont know about other xnd's like exist.regardslaxma dendi
[EMAIL PROTECTED] wrote:Hi,
is it possible to run a xpath query against a collection and it's
subcollections?
Collection-Hierarchy:
/db
/collection_1
/collection_2
/collection_3
/collection_4
How can I query all collection (1-4) at the same time.
By using
xindice xpath -c /db/collection_1 -q "XPATH-STRING"
I only get results from collection_1, not from collection_2 or collection_3.
Thanx a lot for your help!
Sven Pfeuffer
--
Sven Pfeuffer *** [EMAIL PROTECTED]
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!