W3C home > Mailing lists > Public > www-html@w3.org > September 1999

Re: CSS -> older HTML

From: Daniel Glazman <Daniel.Glazman@der.edfgdf.fr>
Date: Sat, 11 Sep 1999 20:17:48 -0400 (EDT)
Message-Id: <199909120016.CAA08683@cli51ak.der.edf.fr>
To: bckman@ix.netcom.com (Frank Boumphrey)
Cc: zoltan@netcom.ca, www-html@w3.org, www-style@w3.org
> You should be able to do this with a fairly simple Perl or JavaScript.
> if you want to do it on the fly then ASP should be able to manage it

Hmm. A fairly simple Perl or javascript ? I think I can understand the
Javascript answer (a document contains a DOM2 code and is
self-modified by that code) but I don't think that a simple Perl pgm
doing the same thing is easy to do.

First you need to parse the HTML (ok, modules already exist), the
parse all the stylesheet, apply the cascade, apply conflict rules with
HTML attributes, use inheritance rules, etc...

The example Zoltan gave is fairly simple but the general case is much
more complex...

Received on Sunday, 12 September 1999 08:56:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC