CSharp examples for System.Xml:XML Document
Convert String To Xml Document
using System.Xml; public class Main{ public static XmlDocument ToXmlDocument(string xml) {/*from ww w .j a va 2s .c o m*/ var xmlDocument = new XmlDocument(); xmlDocument.LoadXml(xml); return xmlDocument; } }