* Minimoi wrote:
>In order to do this, i got a bunch of SVGOMTextElement with ids and I
>just use a loop in my java code to change the content of the element.
>
>Java Code :
>// I take the text node in a list
>SVGOMTextElement elt2 = ((SVGOMTextElement) elt);
>//I'll update the first child
>SVGOMTSpanElement span = (SVGOMTSpanElement)elt2.getFirstChild();
>//Setting the new value
>elt2.setTextContent("test");Generally speaking, the batik-users list would be better for Batik specific questions, you should use setNodeValue() which is a much simpler method than setTextContent, and if you do multiple updates before you need to have the rendering updated, consider using the *Redraw methods to suspend and resume screen updates. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de ------------------------------------ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

