title: Making Xerces parse a string instead of a file
body: <p>I know how to create a complete dom from an xml file just using XercesDOMParser:</p>
  
  <pre><code>xercesc::XercesDOMParser parser = new xercesc::XercesDOMParser();
  parser-&gt;parse(path_to_my_file);
  parser-&gt;getDocument(); // From here on I can access all nodes and do whatever i want
  </code></pre>
  
  <p>Well, that works... but what if I'd want to parse a string? Something like</p>
  
  <pre><code>std::string myxml = "&lt;root&gt;...&lt;/root&gt;";
  xercesc::XercesDOMParser parser = new xercesc::XercesDOMParser();
  parser-&gt;parse(myxml);
  parser-&gt;getDocument(); // From here on I can access all nodes and do whatever i want
  </code></pre>
  
  <p>I'm using version 3. Looking inside the <code>AbstractDOMParser</code> I see that parse method and its overloaded versions, only parse files.</p>
  
  <p>How can I parse from a string?</p>