Delete a sub-tree

TM
2013-01-22
2013-05-20
  • TM
    TM
    2013-01-22

    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?