title: Read XHTML with XDocument?
body: <p>How to read XHTML with XDocument, without downloading DTD. How to resolve the DTD references? No, you can't just say:</p>
  
  <pre><code>settings.ProhibitDtd = false;
  settings.XmlResolver = null;
  </code></pre>
  
  <p>as given in some previous answer, which is absolutely wrong. What about the entities then: <code>&amp;nbsp;</code> 
  Also I am not interested in HTMLAgility pack, again wrong answer, as I have valid XHTML.</p>