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