title: Cocos2d-x Parse XML from Content of URL using pugixml, how do I do it?
body: <p>This is what I've been trying:</p>
  
  <pre><code>pugi::xml_document doc;
  
  pugi::xml_parse_result result = doc.load_file("Book.xml"); // need to change this
  
  std::cout &lt;&lt; "Load result: " &lt;&lt; result.description() &lt;&lt; ", mesh name: " &lt;&lt; doc.child("mesh").attribute("name").value() &lt;&lt; std::endl;
  </code></pre>
  
  <p>I want to do something like this:</p>
  
  <pre><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></pre>
  
  <p>EDIT 1:</p>
  
  <p>Apparently this is not possible.
  <a href="http://code.google.com/p/pugixml/issues/detail?id=116" rel="nofollow">http://code.google.com/p/pugixml/issues/detail?id=116</a></p>
  
  <p>So how should I move forward?</p>