In the engine.nodes are all nodes
Nodes collection contains only named nodes.
But now, how can I delete a sub node of a root node ?
Do you familiar with the structure of a VRML file?
To remove subnodes of a node you have to get appropriate field of this node (e.g. 'children' field for transforms and groups) and remove all nodes from it.