Generate claim XML