start wrting xml parse