Generate xml report
(cherry picked from commit ce3a467de63e28eeb30dcf9691abaad2e39dea60)