Add back accidentally deleted xml parse