Vincent,

That's good. I only need it to parse a CSS1/2 stylesheet from an inputstream and then 
use it to lookup style rule for a particular element.

I look at the code in the CSS parser, all the parseXXX() function is a void function. 
How can I get the parsed Stylesheet? And How can I use it to look up rules for 
elements?

Thank you again.
Sam



-----Original Message-----
From: Vincent Hardy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:25 AM
To: Batik Users
Subject: Re: Using Batik as CSS parser


Sam,

Stephane is the right person to answer that question, but my 
understanding is that you could reuse the Batik CSS engine for other 
things than SVG (e.g., HTML). However, Batik does not have a layout 
engine that you would need to implement the CSS box model.

Vincent.

[EMAIL PROTECTED] wrote:
> Hi,
> 
> Could someone please tell me if I can use Batik to parser CSS1 or CSS2 stylesheets 
>for HTML pages? If yes, please tell me where I can find some examples.
> 
> Thank you.
> Sam
> 
> 
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
>convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
> 
> Get your own FREE, personal Netscape Mail account today at 
>http://webmail.netscape.com/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to