I use Javascript to remove a child of "<g>" element and add it as a
child of "<use>" element

oldNode.removeChild(node);
newNode.insertBefore(node, newNode.firstChild);

Inside Batik this seems to create a new DOM node which is not rooted
in the existing DOM hiearchy (ie, not accessible through
svgCanvas.getSVGDocument()). The old DOM node is not removed from the
DOM hierarchy.

The BridgeContext is updated correctly however, and it is possible to
access the new node through BridgeContext.getElement(GraphicsNode).

Is there a way to force Batik to update the DOM so that it is
synchronized with the GraphicalNode hierarchy?

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

Reply via email to