Print

Print


On 6/6/2006 4:23 PM, Eric Lease Morgan wrote:

> Is there a cool Tidy (Perl) module that will convert (force) dirty
> HTML documents into XHTML documents? I took a look at CPAN but I
> wasn't sure which one(s) do the job.
>

<http://sourceforge.net/projects/ptidy> - It looks like something's in
the works, but not yet a going concern.  I'm not above a system call
myself: tidy -asxml html4doc.html > xhtml1doc.html

Aside from assurances of well-formedness, is there a particular reason
for XHTML?


Thomas Dowling
[log in to unmask]