Cocos2d-x Parse XML from Content of URL using pugixml, how do I do it?

Exittarty

New Member
This is what I've been trying:\[code\]pugi::xml_document doc;pugi::xml_parse_result result = doc.load_file("Book.xml"); // need to change thisstd::cout << "Load result: " << result.description() << ", mesh name: " << doc.child("mesh").attribute("name").value() << std::endl;\[/code\]I want to do something like this:\[code\]URL url;url = new URL("http://.....");URLConnection ucon = url.openConnection();ucon.connect();pugi::xml_parse_result result = doc.load_file(url.openStream()); // need to change this\[/code\]EDIT 1:Apparently this is not possible.http://code.google.com/p/pugixml/issues/detail?id=116So how should I move forward?
 
Back
Top