Add output results to xml file.