def clear(self):
self._root_node.detach_children()<EOL>self._nbr_of_nodes = <NUM_LIT:0><EOL>
Clear the structure but without deleting anything.

Some nodes/elements might be used somewhere else. We simply detach node references from the dummy root node.