--- Bob <[EMAIL PROTECTED]> wrote: > I've had Tidy for some time now, which I've added as a user tool in EditPlus.
I guess you already know that Tidy is available as an extension to PHP: http://www.coggeshall.org/tidy.php This slideshow illustrates some of its uses: http://talks.php.net/show/tidy_phpcon Perhaps it will give you another avenue to explore. It should be possible to derive a regular expression which would affect just the element names and the property names. Of course, some of the properties in your sample code may not have quotation marks around the values--another requirement of xhtml. The more exotic functions like preg_replace_callback() may come in handy here. James _____ James D. Keeline http://www.Keeline.com http://www.Keeline.com/articles http://Stratemeyer.org http://www.Keeline.com/TSCollection http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc. Summer Semester Begins Jun 20 -- New Classes Start Every Few Weeks. ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hr61mif/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1122832817/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
