我创建 aXPathDocumnet
并给它 a xml file
,但它不加载文档。我的意思是加载需要无穷大,因为没有例外或类似的东西。这是代码:
string root = @"http://emtehan.roshd.ir";
WebClient webclient = new WebClient();
webclient.DownloadFile(root, "doc.xml");
XPathDocument document = new XPathDocument("doc.xml");