C# Reading file including XML and another text



I would like to parse xml file from my server to my C# application, but i have one problem: my server is adding automatically to xml file own footer and xml file looks:



<?xml version="1.0"?>
<ROOT><Item></Item></ROOT>

<!--SCRIPT GENERATED BY SERVER! PLEASE REMOVE-->
<center><a href="http://">Web hosting by .com</a></center>
</textarea></xml></script></noframes></noscript></object></layer></style></title></applet>
<script language="JavaScript" src="http://"></script>
<!--SCRIPT GENERATED BY SERVER! PLEASE REMOVE-->


Can I parse this file using C#? How to do it?


No comments:

Post a Comment