xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Philippe LEBOEUF <jeanphilippe.lebo...@free.fr>
Subject Re: parsing and applying css
Date Wed, 26 Jun 2002 08:47:08 GMT
I know the "Steady State CSS2 Parser" but I never used it :
http://www.steadystate.com/css/ (LGPL).
There is an extended version available on Morphon Technologies website :
http://www.morphon.com/open-source/.

I hope these tips can help you...

David Teran wrote:
> Hi,
> 
> i am looking for a css parser and it seems that the one from batik is 
> pretty mature. I must do the following:
> 
> apply an existing CSS2 document where all the styles are defined to a 
> XML file which i could parse using a DOM parser. My question is if the 
> following would be a general solution:
> 
> 1) parse the css2 document
> 2) parse the xml file
> 3) use batiks css part to compute for every node in the DOM (from point 
> 2) the style and then do whatever i want with this information.
> 
> I mean does batik free me from checking which style gets applied to 
> which tag in the XML file? If the general approach is ok, could someone 
> point me in the right direction?
> 
> thanks, david
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message