Output test result with XML.