XPathDocument Can't Load

altedeslego

New Member
I create a \[code\]XPathDocumnet\[/code\] and give it a \[code\]xml file\[/code\], but it doesn't load the document. I mean it takes infinity to load because there's no exception or something like that. Here's the code:\[code\]string root = @"http://emtehan.roshd.ir";WebClient webclient = new WebClient();webclient.DownloadFile(root, "doc.xml");XPathDocument document = new XPathDocument("doc.xml");\[/code\]
 
Back
Top