DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7098>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7098

removeChild() doesn't remove child node

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-03-13 21:36 -------
removeChild -- removes a child of *this* node. doc.getElementsByTagName returns 
the list of all possible nodes that match the name and might not be immidiate 
descendant of *doc*.
By definition:
[[
child 
A child is an immediate descendant node of a node
]]
This is the case you are facing and I assume you are getting NOT_FOUND_ERR 
exception. To remove the node you must first get the parent of the node you 
want to remove and then excecute parent.removeChild().

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

Reply via email to