List of utility methods to do XML Child Remove
void | removeChilds(Node node) remove Childs NodeList nl = node.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) node.removeChild(nl.item(i)); |
boolean | removeNode(Node parent, Node child) remove Node if (parent == null || child == null) return false; try { parent.removeChild(child); return true; } catch (DOMException ex) { return false; |