How to load string to XMLDocument()

The following example shows you how to load a string to a XMLDocument() object: 1. Load from a physical file on a drive: XmlDocument _Document = new XmlDocument(); _Document.LoadXml(File Physical Path); 2. Load from a URL: WebClient wc = new WebClient(); string xmlStr = wc.DownloadString(url); XmlDocument _Document = new XmlDocument(); _Document.LoadXml(xmlStr);