Stefan Behnel wrote:

> If you want to copy part of of removed element back into the tree, feel free
> to do so.

and that can of course be done with a short helper function.

when removing elements from trees, I often set the tag for those 
elements to some "garbage" value during processing, and then call 
something like

http://effbot.org/zone/element-bits-and-pieces.htm#cleanup

to clean things up before serializing the tree.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to