code: public String get(String attributeName) {
          // check first for a namespace-less attribute
          String attr = attributes.get(new XAttributeName(attributeName, null, null));
          if (attr == null) {
              // find any attribute ignoring namespace
              for (XAttributeName n : attributes.keySet()) {
                  if (Objects.equals(n.name, attributeName)) {
                      return attributes.get(n);
                  }
              }
          }
          return attr;
      }
docs: Retrieve the first attribute which has the given local attribute name.
  @param attributeName the attribute name
  @return the attribute value or null if no such attribute