I'd like to open an HTML document (as a string retrieved from a StreamReader, from the web), by creating a XMLDocument this way:
XmlDocument doc = new XmlDocument
doc.Load(string containing the retrieved document).
But since the HTML doc contains this head:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
It tells me that the document is invalid... Any way to workaround this?