added xml response for trail data