Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XQuery to return multiple elements

660165Sep 24 2008 — edited Sep 24 2008
Hi,
I am having a hard time trying to get my head around this. What I'm trying to do is so laughable easy (in theory), but cannot do in practise.

I have a simple structure like so;

<person>
<name>Me</name>
<last>Proj</last>
<mrn>54</mrn>
<phone>43434</phone>
<fax>34343</fax>
</person>

What I want to do is, find a person by searching for there last name, and then return only the following values, Name, Last and MRN

I have looked through a lot of documentation, but cannot find an answer to my problem.
I've also looked at various XQuery examples, but have had no luck.
This post has been answered by 655560 on Sep 24 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2008
Added on Sep 24 2008
7 comments
10,390 views