You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Ol...@vodafone-us.com on 2002/07/25 19:03:32 UTC

New to Xindice, bare with me....

I have just installed and created collections, documents,.... using xindice
1.0.

Now my main question and it might be triavial, so bare with me is:

how to query multiple collections together using XPath ?

Here is my structure:

/db/authorization
/db/authorization/users
/db/authorization/groups

In the users collection I have multiple documents (1 per user) with a root
element of "user". Same concept for groups

Is it possible to express an XPath query "joining" multiple documents in
these 2 collections ?

Other quick question: design wise, is it better to have multiple documents
for users or 1 document with a root elements of "users" and "user"
sub-elements. I would like to grasp the main conept of XIndice and use it
in the most efficient way.

Thanks for any help.

Olivier