Link to home
Start Free TrialLog in
Avatar of lapucca
lapucca

asked on

What's the best way to parse a XmlDocument.InnerXml?

Hi, I'm using VS 2008 and .net 3.5.
How do I best parse out different node value inside a XmlDocument.InnerXml, which I beleive is a string value?  Or, would it better to parse using a XmlDocument object instead of a string object?  And please show a sample code on how I can do this if parsing the String object of XmlDocument.InnerXml.  Thank you.
ASKER CERTIFIED SOLUTION
Avatar of spprivate
spprivate
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lapucca
lapucca

ASKER

Hi Thanks for the link to the example.  However, that is using a xml file to read in.  In my class, I have a input parameter that is a string which is the result from "return xmldoc.InnerXml;" ,  It's a string from a xmlDocument.InnerXml.  How can I start parsing this with xpath?  Thank you.