reading xml python code example
Example 1: python elementtree load from string
from xml.etree.ElementTree import XML, fromstring
myxml = fromstring(text)
Example 2: how to read ome xml file in python
showinf -omexml-only /path/to/file/myFile.ome.tif >> path/to/output/myFile.ome.xml