>>>>> "Y" == YingLCS  <[EMAIL PROTECTED]> writes:

Y> Vincent,

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

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

   Take a look at org.apache.batik.css.engine.CSSEngine (has lookup
methods etc) and org.apache.batik.css.engine.SVGCSSEngine (customizes
CSSEngine for SVG).

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

Reply via email to