@Override
  public void attributeAdded(String key, String value, String systemId, int lineNr) {
    currentElements.peek().remove(key);
  }
@Override
  public void attributeAdded(String key, String value, String systemId, int lineNr)