To obtain the root element of a document contained in an
, use this method call:
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