Thomas DeWeese wrote:
Hi Jorg,

Jorg Heymans wrote:

Could the transformerfactory maybe drop them ?


  It's possible, I've never used this.  You could try printing
'getNamespaceURI' on the elements that are finally added to the DOM.

it prints "http://www.w3.org/2000/svg"; , the prefix is "svg".
So this means that the node that is finally added to the dom has the correct namespace and a valid prefix right?


If this is the case and i don't get any other exceptions or warnings, why isn't the node shown? I am adding it using
Node old = getSVGDocument().getElementById(oldID);
oldNode.getParentNode().replaceChild(newNode, oldNode);


Again, dumping the svg to file and loading it in squiggle works fine.

One more thing i just thought of : i set the viewbox coordinates also dynamically by replacing the attributes of the documentElement. I do this before i start swapping out nodes like above. Could this be problematic?

Thanks for your help
Jorg


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



Reply via email to