added xml output for calculation. example sent to CA.