Old HTML convert to XHTML Class?
| From: | Jay | Date: | Wed, 04 Aug 2004 12:57:45 +0000 |
| Subject: | Old HTML convert to XHTML Class? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192696@lists.php.net to get a copy of this message | ||
Hi!
Is there any class, functions etc that will convert old HTML to XHTML.
I want to send in some HTML text and get XHTML back.
e.g: the following would be converted:
in="<font face="verdana,arial,helvetica,sans-serif" color="#0000cc" size="2">hello</font>"
out="<span style"font-family:verdana,arial,helvetica,sans-serif; font-size: 10px; color:#0000cc">hello</span>"
or something like that.
Any opensource, commercials?
Thanx In Advance
Jay