The ElementTree.parse reads from a file, how can I use this if I already have the XML data in a string?
Maybe I am missing something here, but there must be a way to
If you're using xml.etree.ElementTree.parse to parse from a file, then you can use xml.etree.ElementTree.fromstring to parse from text.
xml.etree.ElementTree.parse
xml.etree.ElementTree.fromstring
See xml.etree.ElementTree