Hello Matiouz.

Matiouz Matiouz:
> I'm using batik 1.7 under windows, and I'm programming in java 5.0.
> 
> I'm trying to read the css style of elements (circle, rectangle....) 
> contained in an SVG file.
> I can iterate through all these elements but I can't find their style.

You’ll need to “boot the CSS engine” to get Batik to compute the CSS
information:

  http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom

Once the graphics tree is built (that last builder.build(…) line) calls
to CSS and SVG DOM methods should work.

-- 
Cameron McCormack ≝ http://mcc.id.au/

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

Reply via email to