[thelist] ASP.NET parsing xml response with XMLDocument class

Anthony Baratta anthony at baratta.com
Mon Oct 2 12:56:28 CDT 2006


Try this instead:

 XmlDocument xd = new XmlDocument();
 xd.Load(req.GetResponse().GetResponseStream());

-----Original message-----
From: "Casey Crookston" caseyc at IntelliSoftmn.com
Date: Mon, 02 Oct 2006 10:14:13 -0700
To: thelist at lists.evolt.org
Subject: Re: [thelist] ASP.NET parsing xml response with XMLDocument class

> Thanks Peter and Chris,
> 
> XmlDocument xd = new XmlDocument();
> xd.Load(stIn);
> 
> Trouble seems to be that it won't accept a string in the load() method.
> I'm told by Visual Studio that it must be a URL to a file.
> 
> Casey 




More information about the thelist mailing list