protected Instances createInstances(Instances header,Element parent) throws Exception {
  Instances result;
  Vector<Element> list;
  int i;
  result=new Instances(header,0);
  list=getChildTags(parent,TAG_INSTANCE);
  for (i=0; i < list.size(); i++) {
    result.add(createInstance(result,list.get(i)));
  }
  return result;
}

protected Instances createInstances ( Instances header , Element parent ) throws Exception { Instances result ; Vector < Element > list ; int i ; result = new Instances ( header , 0 ) ; list = getChildTags ( parent , TAG_INSTANCE ) ; for ( i = 0 ; i < list . size ( ) ; i ++ ) { result . add ( createInstance ( result , list . get ( i ) ) ) ; } return result ; }
creates instances from the given xml node
