[jdom-interest] CSS parser & JDOM

Sebastien Pierre Sebastien.Pierre at isb-sib.ch
Wed Sep 19 23:44:18 PDT 2001


Hi all,

I'd like to parse a CSS file and get a kind of DOM out of it. It seems
like the W3C has defined an API (Simple Api for CSS), but that doesn't
generate a CSS-DOM- it's just like SAX. The Apache Batik projects seems
to offer something like what I want, but is really obscure, and seems to
require DOM level 2+W3C compliant DOM.

So is there a possibility to use a CSS parser with JDOM, or at least, is
there an independant CSS parser that generates a CSS-DOM... Well this
question is slightly off-topic, but I think that might interest some
JDOM users.

Cheers,

   -- Sebastien.



More information about the jdom-interest mailing list