@Override
  public void removeAttribute(String name) {
    for (int i = 0; i < attributes.size(); i++) {
      XMLAttribute attr = attributes.get(i);
      if (attr.getFullName().equals(name)) {
        attributes.remove(i);
        return;
      }
    }
  }
@Override
  public void removeAttribute(String name)