W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

tidy in asp

From: Tim Kidder <TKidder@travelsavers.com>
Date: Wed, 9 May 2001 13:30:21 -0400 (EDT)
Message-ID: <91A9846400F4D2119D2200500405C798548921@EXCHANGE>
To: html-tidy@w3.org
Hi
I wonder if you could help me. I down loaded and registerd the tidycom DLL. 
I made an ASP page to test it as follows

<%
set tidyobj=server.CreateObject("TidyCOM.TidyObject")
tidyobj.Options.Doctype="strict"
tidyobj.Options.DropFontTags=true
tidyobj.Options.OutputXhtml=true
tidyobj.Options.Indent=2
tidyobj.Options.TabSize=8
tidyobj.TidyToFile "bad.html","good.html"
Response.Redirect("good.html")
%>
I made two pages . bad.html has a few html errors. good.html is an empty
page.
The script seems to run without any errors, however nothing appears in the
good.html page.
Received on Thursday, 10 May 2001 22:20:08 GMT

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