I don't think it should be expected to work.  The XPath query service
iterates over the collection (with some speedup from indexes) and finds
documents matching the XPath conditions.  I don't believe that it can join
documents.  Futhermore, there is no way to indicate in a single XPath
expression that one of the terms came from one document (/users/[EMAIL 
PROTECTED])
and another term came from a second document (/groups/group/@id).  The only
way this could work would be if the entire collection were considered 1
document, but in this case, either the union document would not be
well-formed XML (because it did not have a single root element) or the XPath
expressions given in parentheses above would never be matched because they
did not include that single root element.

Jeff
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Friday, July 26, 2002 8:43 AM
Subject: Re: xpath across 2 documents


>
> Roman,
>
> Yes, but it does not work. Is it supoosed to work ? This is the question.
>
> Olivier
>
>
>
>

Reply via email to