[XML-SIG] Removing a set of DOM nodes

Dieter Maurer dieter@handshake.de
Sun, 9 Jan 2000 11:04:09 +0100 (CET)

Hello Brad,

if you use PyDOM (i.e. the DOM implementation of the XML SIG)
then it will be sufficient to just remove the parent of the
subtree. PyDOM uses proxies to avoid any cyclic references
such that the usual Python garbage collection can clean
up without problem.

If you use 4DOM, the FourThought people should tell you
about the necessary procedure to perform manual garbage
I assume, you must call a "destroy" method after the
subtree has been removed from the tree. This will
take care of any recursion down the tree.