Hello, on 08/20/2009 09:47 PM Al said the following: > Or, does anyone know of a stand-alone php class that emulates the tidy > extension. I've looked; but, not found any. Yes, you may want to try this Secure HTML parser filter package. It comes with parser and a filter class that validates HTML against an eventually auto-detected DTD. It returns an array of tag and data elements that you can use to rebuild a valid HTML document using the RewriteElement function. http://www.phpclasses.org/secure-html-filter -- Regards, Manuel Lemos Find and post PHP jobs http://www.phpclasses.org/jobs/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php