how to parse xml string in python code example Example: python parse xml string root = ET.fromstring(xmlData)