Parsing XHTML with DTD using XDocument
问题 I need to get plain text from XHTML documents. I am sure I already read somewhere here, that XDocument on WP7 does not support DTD. I cannot find it though. Well, when I try to parse XHTML with DTD using XDocument, it throws NotSuportedException. Last call in stacktrace is at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() . That is exactly same even if I try to use some dummy XmlResolver - it doesn't really get called. (following answer in this question). So I assume that WP7 really doesn't