added xml file-data output support