Download and parse an XML document.

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.
 
A

Arne Vajhøj

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
 
M

Mufasa

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top