add xml parse methods