You can't "delete" nodes in the DOM. You can only remove them from the 
tree. Doing so removes their entire subtree.

The usual solution is to remove them, and move the descendent nodes you 
want to keep into the position these ancestors were removed from. (Insert 
before what used to be the removed ancestor's next-sibling.)

______________________________________
Joe Kesselman  / IBM Research

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

Reply via email to