Implement XML result format