Try this: http://www.zvon.org/xxl/XPathTutorial/General/examples.html
Either you have found a bug or your query if formatted incorrectly. Try the above quickie tutorial and see if your format needs modifications. HTH, Mark [EMAIL PROTECTED] wrote: > Roman, > > Yes, but it does not work. Is it supoosed to work ? This is the question. > > Olivier > > > KOZLOV Roman > <[EMAIL PROTECTED] To: > [email protected] > scade.com> cc: > Subject: Re: xpath across 2 > documents > 07/26/2002 12:46 > AM > Please respond > to xindice-users > > > > 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
