W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: to XML, not XHTML

From: Matt G <mattg@vguild.com>
Date: Thu, 30 Aug 2001 01:05:23 -0600
Message-ID: <000d01c13122$24194710$6703a8c0@nb100>
To: <html-tidy@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT