Is this enough to delete a node inside an Xml document?
node->DeleteChildren();
parent->DeleteChild(node);
or is there more necessary namely deleting the attributes?