Just beginning to find my way around the MS XML SDK kit.

A rather daft question I have.

I simply want to retrieve an element's value;

For e.g
<ROOT>
<ENTRY>
<NAME>John Smith</NAME>
</ENTRY>
</ROOT>

The node is ENTRY and the element is NAME.

I can achieve this but it all seems rather crude. Using the childnodes collection you have to specify specific indexes to get to the element you want.

##I would like to specify the element name to get the value###

Any help would be appreciated.

Thanks