generate status from xml file