Using xml: How do I download xml from the internet in C++ on newest questions tagged xml – Stack Overflow

The same way an internet browser does it when you save page as .xml, or view page source. Of course I am targeting a webpage that is in xml and starts like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Why do I want to do this? Well I want to dump the entire source of certain webpages into a string or CString, which I’m still figuring out how to do

See Answers


source: http://stackoverflow.com/questions/11736170/how-do-i-download-xml-from-the-internet-in-c
Using xml: using-xml



online applications demo