Christian Stocker wrote:
On Wed, 04 Aug 2004 14:57:45 +0200, Jay <[EMAIL PROTECTED]> wrote:

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.


try tidy as external tool, or even better the tidy extension as native
php extension

chregu

I canīt use Tidy because i canīt install it on my server...i got a hosted server. So i donīt have access to install stuff.


Thanx
Jay



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to