Completed part 3: parsing xml responses