title: php domdocument xml troubles when <>& in items
body: <p>I am trying to parse this XML:</p>
  
  <pre><code>&lt;data&gt;
  &lt;item field="abcdef '&lt;&gt;&amp;" row="another text" /&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>I should get <strong>abcdef '&lt;>&amp;</strong> for getAttribute('field') and <strong>another text</strong> for  getAttribute('row'). But if my data contains &lt;>&amp; etc XML is not parsed correctly. How can I parse it correctly?</p>