Loading string into XML Data
<p>I am developing an application where I am reading a file, converting the contents into string and then loading the string in XML. But the issue that I am facing is that while loading the string data into XML I am getting an exception of invalid characters. I am using the following piece of code. Could any one help me to resolve the issue. Thank you in advance.</p>

<pre><code>ZipFileEntry objContactXML;

String xmlData = ASCIIEncoding.UTF8.GetString(objContactXML.FileData);

XmlDocument xmlDoc = new XmlDocument();

xmlDoc.LoadXml(xmlData);
</code></pre>

<p>Regards,
Sanchaita</p>
