I try get xml file with this code:\[code\]HttpWebRequest webReq = (HttpWebRequest)WebRequest.Create(url);HttpWebResponse response = (HttpWebResponse)webReq.GetResponse();string xml = string.Empty;using (StreamReader sr = new StreamReader(response.GetResponseStream())){ xml = sr.ReadToEnd();}XmlDocument xmlDoc = new XmlDocument();//xml = xml.Replace((char)(0x1F), ' ');xmlDoc.LoadXml(xml);\[/code\]but I get exception as below:\[code\]' ', hexadecimal value 0x1F, is an invalid character. Line 1, position 1.\[/code\]So according to many similar questions on stackoverflow I try add this commented line, but then I get exception:\[code\]Data at the root level is invalid. Line 1, position 2.\[/code\]What's wrong?