added xml output for CPS