parse xml in python code example
Example 1: python parse xml string
root = ET.fromstring(xmlData)
Example 2: python elementtree load from string
from xml.etree.ElementTree import XML, fromstring
myxml = fromstring(text)
root = ET.fromstring(xmlData)
from xml.etree.ElementTree import XML, fromstring
myxml = fromstring(text)