0
Reply

Read Xml from Http?

jcwright77

jcwright77

May 27 2004 11:22 AM
1.4k
I have a little problem that I can't seem to get by. First, I know how to read an Xml file from the local hard drive: StreamReader stream = new StreamReader ("C:\\file.xml"); XmlTextReader reader = null; reader = new XmlTextReader (stream); This works from my hardrive. But say I have the location as "http://filelocation/file.xml"; How would I go about reading the file from this http site? Thanks.