public override bool MoveToAttribute(string localName, string namespaceURI) => _curNode.NodeType != XPathNodeType.Element ? false : //other type of nodes can't have attributes _curNode.MoveToAttribute(localName, namespaceURI);