Download and parse an XML document.

  • Thread starter Thread starter Mufasa
  • Start date Start date
M

Mufasa

I was given a URL that is an XML file that I need to process. Can somebody
point me to code to do this so I don't have to recreate it?

TIA - Jeff.
 
Mufasa said:
I was given a URL that is an XML file that I need to process. Can somebody
point me to code to do this so I don't have to recreate it?

XmlDocument doc = new XmlDocument();
doc.Load(urlstr);

will download and parse, so it is ready for whatever you want
to do with it.

Arne
 
Great. Thanks.

Arne Vajhøj said:
XmlDocument doc = new XmlDocument();
doc.Load(urlstr);

will download and parse, so it is ready for whatever you want
to do with it.

Arne
 
Back
Top