XML Parsing & Downloading a URI
-
Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P
-
Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P
chasetoys wrote:
Easily parse thru XML
Search for MSXML. Or use a third-party parser like Expat.
chasetoys wrote:
Once I have a URI, how can I download *all associated content*
You have to do this yourself, extract all the various elements and download them individually. Or you can download the page to an MHT file.
chasetoys wrote:
How can I send XML over HTTP?
It's just an HTTP POST.
0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2.2 [^]: A free RSS/Atom feed reader with support for Code Project.
-
Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P
-
Hey folks: How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpful. Help your local noob. :P
chasetoys wrote:
How can I: 1) Easily parse thru XML (I can use MFC classes if this makes it any easier, but no .NET) 2) Once I have a URI, how can I download *all associated content* i.e. images/text/whatever is on the webpage... and how can I specify where all of that goes? 3) How can I send XML over HTTP? Classes/methods/articles/etc.... would be very helpf
For Internet related Activity :- http://www.codeproject.com/internet/amhttputils.asp[^] For XML related activity :- www.codeproject.com/soap/markuparchive.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You