Node n = factory.makeNode( currentNode, currentNode.getChildCount(), new XMLElementNode( qName, atts ) );
Node n = factory.makeNode( new XMLElementNode( qName, atts ) );
   public void startElement (String uri, String name,                             String qName, Attributes atts)   {     if( currentText != null )       currentNode.addChild( factory.makeNode( currentNode, currentNode.getChildCount(),        new XMLTextNode( currentText.trim().toCharArray() )  ) );     currentText = null;     Node n = factory.makeNode( currentNode, currentNode.getChildCount(), new XMLElementNode( qName, atts ) );     currentNode.addChild(  n  );     treestack.push( currentNode );     currentNode = n;       //         System.out.println("Start element: {" + uri + "}" + name);   }