-
February 5th, 2011, 07:25 PM
#1
load xml from web MFC
how can i load xml from web ?? for examlple www.myweb.com/myxml.xml cam any1 help me or show example?? i'm using microsoft visual studio
Last edited by lasha; February 5th, 2011 at 07:31 PM.
-
February 5th, 2011, 08:52 PM
#2
Re: load xml from web MFC
You can download the xml file with UrlDownloadToFile. For parsing the file there are many options. One of them is Xerces. Google for more options on parsing the file.
-
February 5th, 2011, 11:29 PM
#3
Re: load xml from web MFC
tinyxml is another option
-
February 6th, 2011, 08:39 AM
#4
Re: load xml from web MFC
To download an XML file (as well as HTML, TXT, etc) it's easy by using MFC classes CInternetSession and CStdioFile.
A sample code can be found here.
For parsing, easy to use and available with Visual Studio is XmlLite library.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|