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

> 
> 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
> 
> 


-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [EMAIL PROTECTED]  |  gnupg-keyid 0x5CE1DECB

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

Reply via email to