Hi,

Jeff Greif wrote:
I'm not sure I understand what you're proposing to do, but you cannot use
XPath to join multiple documents, as far as I know.  Suppose I have the
XPath expression
  /authorization/users/user/[EMAIL PROTECTED]/authorization/groups/group/@id]
which is the revised version of your join query.  How is the XPath processor
supposed to know that the two different appearances of /authorization stand
for two distinct trees, or whether it is supposed to find
/authorization/users and /authorization/groups in the same document?  If you
want to join across multiple documents, you need to mash them into one
document first, *I believe*.


You could do something like:

<xsl:variable
   name="ext_doc"
   select="document('/uri/resolved/to/something.xml')/authorization"/>


then you could do:


/authorization/users/user/[EMAIL PROTECTED]/groups/group/@id]

best,
-Rob




Reply via email to