Am trying to load a XML file in the XMLDocument object.
in the XML File there some named entities which is not defined in the DTD., So XMLDocument object throwing parsing error.
Since i tried xmlresolver as null; also its throwing error, is there anyway to get rid of this error,
Code:XmlDocument doc = new XmlDocument(); doc.XmlResolver = null; doc.LoadXml (sFileContent);





Reply With Quote