@Override
  public void endElement(String name, String nsPrefix, String nsURI) {
    IXMLElement elt = stack.pop();

    if (elt.getChildrenCount() == 1) {
      IXMLElement child = elt.getChildAtIndex(0);
      if (child.getName() == null) {
        elt.setContent(child.getContent());
        elt.removeChildAtIndex(0);
      }
    }
  }
@Override
  public void endElement(String name, String nsPrefix, String nsURI)