Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
2764 Points
391 Posts
Apr 15, 2010 02:36 PM|LINK
XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(xmlContent); XmlNode vValue = xmlDoc.SelectSingleNode("//value"); //Or whatever Xpath query string strValue = vValue.InnerText; //Or get the value of textnode child
Menno
Menno van de...
Contributor
2764 Points
391 Posts
Re: parsing xml element into a string variable
Apr 15, 2010 02:36 PM|LINK
XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(xmlContent); XmlNode vValue = xmlDoc.SelectSingleNode("//value"); //Or whatever Xpath query string strValue = vValue.InnerText; //Or get the value of textnode childMenno