Internal helper to detach a child from its parent, do not call directly.
@override @internal void detachParent(XmlNode parent) => _throwNoParent();