W3C home > Mailing lists > Public > www-style@w3.org > March 2007

Re: CSS2, 3.2 Conformance, point 4...

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 26 Mar 2007 16:06:29 +0200
To: "Fennell, Philip" <philip.fennell@hp.com>
Cc: <www-style@w3.org>
Message-ID: <rhkf03hbg378c4ng4rhptl6veu21kblnsr@hive.bjoern.hoehrmann.de>

* Fennell, Philip wrote:
>I am in the process of building a CSS 2 processor that takes as input an
>XML document and obtains any CSS style sheets referenced by the
>xml-stylesheet processing instruction. The processor then parsers the
>style sheet(s) and applies the CSS rules to the XML document. The output
>is the original XML document with CSS style property attributes embedded
>according to the CSS rules. A subsequent process will render the
>'styled' XML document.

FWIW, http://lists.w3.org/Archives/Public/www-archive/2004Jun/0001.html
is a quick and dirty implementation of just that based on the GNOME lib-
croco and libxml2 libraries (it annotates using the specified values,
not the computed values, though).
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 26 March 2007 14:06:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT