Re: to XML, not XHTML

Thanks to all that responded.

My final solutions was:
a) MSXML2.ServerXMLHTTP to retrieve the page
b) Load the ResponseText into an XMLDOM (see if XHTML)
c) If fail, Tidy the ResponseText and reload
d) If fail, load ResponseText into Trident, Tidy the resulting
documentElement.outerHTML and reload

Hosting Trident (WebBrowser control) in silent mode in a hidden form just
parses tree, does not render.

Haven't encountered any page that fails past d).

Win2K Server platform, so YMMV,

    Matt

Received on Thursday, 30 August 2001 03:05:56 UTC