output report to xml