XmlException if the parent refuses to detach for some reason.XmlNode.detach
void detach() @safeDetaches this node from its parent.
void detach() @safeDetaches this node from its parent.
XmlException if the parent refuses to detach for some reason.