You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Cagdas Ozgenc <co...@cornell.edu> on 2002/01/22 18:01:33 UTC

JOIN

Greetings.

How do I run a join query between fields of 2 xml documents, meanwhile deciding how to organize the returned result tree?

For example:

1st doc
--------------
<PERSON name = "Cagdas">
     <TITLE>1</TITLE>
</PERSON>

2nd doc
-----------
<TITLE id="1">Manager</TITLE>

And I would like the result of my query to be the following:

<PERSON name = "Cagdas">
     <TITLE id = "1"> Manager </TITLE>
</PERSON>

Thanks