XQuery to return multiple elements
660165Sep 24 2008 — edited Sep 24 2008Hi,
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.