You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by su...@peoplesoft.com on 2000/01/11 18:19:53 UTC

Problem with node.removeChild()

Hi all--

I'm using the Xerces HTMLDom (on some intermediate build that Arkin gave
me), and am not able to remove a node.  I call

     nodeParent.removeChild(nodeChild)
but when I output the document, the child node is still there.  Am I
missing something?


Re: Problem with node.removeChild()

Posted by Assaf Arkin <ar...@exoffice.com>.
It doesn't seem that the HTML DOM is in any way interfering with the
remove process. An HTMLElementImpl simply extends the Xerces
DOMElementImpl which doesn't seem to affect the remove process.

Can someone detect what's happening?

arkin


susan_levine@peoplesoft.com wrote:
> 
> Hi all--
> 
> I'm using the Xerces HTMLDom (on some intermediate build that Arkin gave
> me), and am not able to remove a node.  I call
> 
>      nodeParent.removeChild(nodeChild)
> but when I output the document, the child node is still there.  Am I
> missing something?
> )

Re: Problem with node.removeChild()

Posted by Assaf Arkin <ar...@exoffice.com>.
Sorry, didn't have time to look over it yesterday, will get to it today.

arkin


susan_levine@peoplesoft.com wrote:
> 
> Hi all--
> 
> I'm using the Xerces HTMLDom (on some intermediate build that Arkin gave
> me), and am not able to remove a node.  I call
> 
>      nodeParent.removeChild(nodeChild)
> but when I output the document, the child node is still there.  Am I
> missing something?
> )