Internal helper to detach a child from its parent, do not call directly.
@override void detachParent(XmlNode parent) { XmlParentException.checkMatchingParent(this, parent); _parent = null; }