output test result by xml format