Olivier, You can query n documents via XPath. It will return the keys of all the documents that match.
I create documents with AccountNames like: a1 a2 a3 aa If I search for "a" then I get them all, if I search for "aa", I only get that document. HTH, Mark KOZLOV Roman wrote: > Hi Olivier, > > Do you agree that your xpath expression should be modified at least like this: > > /users/[EMAIL PROTECTED] = /groups/group/@id] > > Roman > > [EMAIL PROTECTED] wrote: > > > I have acknowledged that a query across collection does not work. > > Can we query on 2 documents at once with XPath ? > > > > example: > > > > users.xml: > > > > <users> > > <user id="1"> > > <group id="1"/> > > </user> > > <users> > > > > groups.xml: > > > > <groups> > > <group id="1"/> > > </groups> > > > > If I want to query all the users who are registred in a group, what should > > I write, the following does not work: > > > > /users/[EMAIL PROTECTED] = /groups/[EMAIL PROTECTED] > > > > Is it something possible ? > > > > If not should I just create one big document containing the "users" and > > "groups" element ? > > > > Olivier -- Mark J Stang System Architect Cybershop Systems
begin:vcard n:Stang;Mark x-mozilla-html:TRUE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Mark Stang end:vcard
