Hi K.W.

"K. W. Landry" <[EMAIL PROTECTED]> wrote on 11/23/2006 05:05:51 PM:

> I've tried every iteration of "removing DOM node" I can find, they all 
fail. 

   I think your basic problem is that you are trying to remove a node
from a node that is not it's parent:

>             SVGOMDocument sd = (SVGOMDocument)ad;
>             Node rn = sd.getElementById("BarChart"); //.getParentNode();
>             sd.removeChild(rn);

    The last line should probably be:
        rn.getParentNode().removeChild(rn);

> And the error produced: "The child node (type: 1, name: g) is missing."

    Yes, the node 'rn' is missing from the child node list of 'sd'.


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

Reply via email to