Hi
You can use XSL features.
If you are using MSXML, ther is method IXMLDOMNode.selectNodes(XPath)
where XPath is expression like this '//profile/name'.
Indeed your XPath can be very sophisticated.
For a full xpath syntax look through specification.
Good luck




Reply With Quote