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
