code: public static void removeAttribute(final AttributesImpl atts, final String qName) {
          final int i = atts.getIndex(qName);
          if (i != -1) {
              atts.removeAttribute(i);
          }
      }
docs: Remove an attribute from the list. Do nothing if attribute does not exist.
  
  @param atts attributes
  @param qName QName of the attribute to remove