#18 fixed XML report generation and transformation