I want to get the node values of the xml string in a visual c++ code
My vc++ code is something like this
url= _T(“http://www.xyz.com/val”);
CString result = g_pCAddonHandler->SendWebRequest(url, L”GET”, L””, false);
// I send a request to a web url it returns an xml string and the format of xml is below
response
result name=”response” numFound=”1″ start=”0″
doc
str name=”id”>497888/str
str name=”lastName” Ross /str
str name=”name” Holly /str
/doc
/result
/response
Note:- I have not used < & > because stackoverflow doesn’t allow these.
Please help in getting all the nodes.
I am relatively new in VC++.
Regards
Anil
Try this
for details check this
http://msdn.microsoft.com/en-us/library/windows/desktop/ms756987%28v=vs.85%29.aspx