Changed get_xml_data to use yield