W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: HTML to XHTML translator

From: Andrew McFarland <aamcf@aamcf.co.uk>
Date: Wed, 15 Jan 2003 19:55:18 +0000
Message-Id: <5.1.1.6.0.20030115194659.00a6d820@pop.ntlworld.com>
To: Jesus Arias Fisteus <jaf@it.uc3m.es>, www-html@w3.org

At 21:19 14/01/03 +0100, Jesus Arias Fisteus wrote:
>- It doesn't translate style information (font, color, etc.) to a
>stylesheet language (like CSS). Then, if the selected output document type
>is XHTML 1.0 Strict, XHTML 1.1 or XHTML Basic, this information is
>discarded.

I'd call that a feature, rather than a problem. By removing the style 
information you are closer to the spirit of the DOCTYPES. Typical automatic 
presentational -> CSS conversions aren't much of an improvement over well 
written presentational HTML in the first place. I've worked on several 
projects in the past where simple automatic removal of the style 
information is something I look for.

>However, I think that it could be interesting for you. I would be very
>pleased if you could try it and send me comments about it. If you think
>that it is useful (for example, compared to HTML Tidy), I will ask my
>thesis director to distribute it as open source.

Please do; I can see it would be very useful

Andrew
Received on Wednesday, 15 January 2003 14:57:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT