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
Printable View
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
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.
tinyxml is another option
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.