String? GetAttribute(String attributeName) { return (_current as XmlStartElementEvent) .attributes .firstWhereOrNull((attr) => attr.localName == attributeName) ?.value; }