code: public static void removeAttribute(XmlElement element, String name) {
          Iterator<Attribute> iterator = element.getAttributes().iterator();
          while (iterator.hasNext()) {
              Attribute attribute = iterator.next();
              if (attribute.getName().equals(name)) {
                  iterator.remove();
              }
          }
      }
docs: 移除属性
  @param element
  @param name