简体   繁体   中英

C# xml parsing error in webbrowser object

I'm developing Windows app. with C#

i am connecting to websites (on webbrowser) and getting source code, it's not problem but when i was trying to connect a XML uri and get source codes it's haveing problem.

The problem is " The XML page cannot be displayed "

i suspect that the source code has been written wrong Because the code start with

<?XML version="1.0" encoding="UTF-8" ?>

How can i resolve this problem and get xml source codes ?

One option is that you are getting valid XML, but it refers to XSL that you have no access to.

<?XML...> should not cause this error since it should be not considered XML at all (should be <?xml... )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM