How to convert string to XML using C#

heidiguanaco

New Member
Global variable \[code\]m_xDoc\[/code\]I have a property of \[code\]public XmlDocument xDoc{ get {return m_xDoc; } set {value = http://stackoverflow.com/questions/10946888/m_xDoc; } } string xml ="<head><body><Inner> welcome </head></Inner><Outer> Bye</Outer></body></head>"\[/code\]Now I have to set that property with this string as XML document ... please guide me how to do this
 
Back
Top