Jorg Heymans wrote:

Is there a way of telling batik "the CSS file has changed, go and apply it again"? I am dynamically generating CSS server side, and need to tell my client side canvas somehow that it should reapply the CSS.

I believe Batik will track modifications to the processing instructions so you might be able to find the PI (it will be a previous sibling of the root document element) and remove and re-insert it (don't append it).

  What I would be tempted to do though would be to send the
CSS through a separate channel and make it the content of a
'style' element and just swap the style element's in the document
(replaceChild...).

I could solve this without CSS and set individual attributes on the document, but why break a good separation of data/style??

I don't think there is any need.

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



Reply via email to