Hi Jean,

Jean-Christophe ARNU (JX) wrote:

I use a SVG file, where I put dynamically a g element (as child of the Node named "place" in the tree). This g element is made of 500 elements (text,
circles, xlink, a). This g element is a "layer". My application has to remove
this layer on a user command (I use a popup menu item for this). In the
removal method, I use place.removeChild(myGElement) in a RunnableQueue.

How certain are you that the DOM you are manipulating is the one being rendered? In particular set[SVG]Document may copy the given DOM if it is not using the Batik DOM Implementation.

        My problem is that my g element is no longer in the DOM tree but is still
rendered (even if I put other elements in the DOM tree or zoom or pan) : I
PrintWritered into files the DOM tree to make comparitions...

        What can I do to force my removed DOM element not to remain rendered onto the
SVGCanvas?

Well there are all sorts of nasty hacks you can apply but you shouldn't have to. I suspect you aren't doing what you think you are doing.



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



Reply via email to