XML和C# [英] XML and C#
本文介绍了XML和C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想构建一个ASP(使用C#语言)应用程序.
给定某个网站的URL,它应该检索所有网页链接的XML源代码.
在此先感谢您.
Hi all,
I want to build an ASP (using C# language) application.
Given the URL of some web site it should retrive the XML source code of all the web page''s links.
Thanks in advance.
推荐答案
感谢您的回复
我尝试了他的代码,但出现了此异常
给定编码中的无效字符.第12行,位置55.
thanks for repaly
i try his code but i get this exception
Invalid character in the given encoding. Line 12, position 55.
尝试一下,
Try this,
Dim objXML As New XmlDataDocument()
objXML.Load(strUrl)
这篇关于XML和C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文