@override String? getAttribute(Node element, String attrName) { if (element is Element) { return element.getAttribute(attrName); } return null; }