XmlDocument dc = new XmlDocument(); dc.LoadXml(sXMLReg); if (dc == null) { throw new Exception("Результат не разобран:\r\n" + sXMLReg); }