protected Instances dataFromXML(Instances header) throws Exception {
  Instances result;
  Element node;
  Vector<Element> list;
  list=getChildTags(m_Document.getDocumentElement(),TAG_BODY);
  node=list.get(0);
  list=getChildTags(node,TAG_INSTANCES);
  node=list.get(0);
  result=createInstances(header,node);
  return result;
}

protected Instances dataFromXML ( Instances header ) throws Exception { Instances result ; Element node ; Vector < Element > list ; list = getChildTags ( m_Document . getDocumentElement ( ) , TAG_BODY ) ; node = list . get ( 0 ) ; list = getChildTags ( node , TAG_INSTANCES ) ; node = list . get ( 0 ) ; result = createInstances ( header , node ) ; return result ; }
generates the complete dataset from the xml document
