@Override
    public void addAttribute(String key, String nsPrefix, String nsURI, String value, String type) {
      if (insideEntry && "key".equals(key)) {
        this.key = value;
      }
    }
@Override
    public void addAttribute(String key, String nsPrefix, String nsURI, String value, String type)