Hi Xavid. Xavid Pretzer: > Earlier I received some very useful help about getting the computed > style of elements. However, I've run into another problem I'm not sure > how to solve. For some of the image processing I'm doing, I want to be > able to load an SVG file, insert a stylesheet that modifies the elements > in that file, read some of the resultant characteristics from the > graphics node, then remove the stylesheet. However, when I insert a > stylesheet at runtime, it seems not to affect the computed style and > shape nodes of elements in the document. If I make similar changes to > the presentation elements of individual elements, the effects are > programmaticly available immediately, but if I insert a "style" element, > nothing seems to change.
There’s definitely a bug in Batik somewhere. If I append the style element without an enclosing defs element then it works. -- Cameron McCormack, http://mcc.id.au/ xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
