What I need to do is read in an SVG file, and then change the text of several text nodes over time in response to user commands. The sample code listed in Java Scripting doesn't help much, since it seems to concern adding script like calls when a document loads.
Once you are in the run method you can use what ever DOM calls you want to modify the document. At this point most modifications are automatically tracked by Batik (the major exception is indirect references - changes to a gradient will not update all the graphics elements using that gradient for example).
How would I update a gradient or such and have my program reflect the changes the next time it's rendered?
Mark McKay
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
