Hi Thomas, I am writing similar code where I want to add svg elements containing script elements to a previously loaded document. I don't quite understand the workaround. If you could explain it in a little more detail I would be grateful. Are you suggesting that the new subtree gets searched from a script loaded with the original document or from the java code that adds the subtree? Once the script elements are identified I don't understand what is meant by "eval"ing them. If my script element is <script xlink:href="circle.js"/> then do I eval the whole element or just the xlink:href="circle.js" portion?
Thanks, Jeff Cressman thomas.deweese wrote: > > > BTW you can probably fix this in your script by searching the > 'too be added' subtree for script elements (getElementsByTagNameNS) > and simply "eval"ing the text content of them (I say simply but > the text content is likely split across multiple text nodes). > Anyway it's a potential workaround if you need one. > > -- View this message in context: http://www.nabble.com/svg%3Ascript-error...-tp5380680p15072528.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
