XPath returning multiple values

G

Guest

Is it possible to create an XPath query that will return both the First and
Last names using the following as an example?
<Data>
<Emp>
<FirstName>Karen</FirstName>
<LastName>Wade</LastName>
<Dept>Finance</Dept>
</Emp>
<Emp>
<FirstName>Carol</FirstName>
<LastName>Britt</LastName>
<Dept>HR</Dept>
</Emp>
<Emp>
<FirstName>Nancy</FirstName>
<LastName>Greene</LastName>
<Dept>Sales</Dept>
</Emp>
<Emp>
<FirstName>David</FirstName>
<LastName>Smart</LastName>
<Dept>Sales</Dept>
</Emp>
</Data>
 
H

Herfried K. Wagner [MVP]

Bob,

Bob said:
Is it possible to create an XPath query that will return
both the First and Last names using the following as an
example?

Notice that there is a separate group for XML related questions available
(microsoft.public.dotnet.xml).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top