parse xml file and replace some value