To obtain the root element of a document contained in an
ElementTree instance , use this method call:
ET
ET.getroot()
The return value will normally be the Element instance at the root of the tree.
However, if you have created your ElementTree instance without specifying either a root element or an
input file, this method will return None.