The xml.etree.ElementTree.ElementTree() Method

The xml.etree.ElementTree.ElementTree() method returns an ElementTree hierarchy for the given element.

import xml.etree.ElementTree

tree = xml.etree.ElementTree.ElementTree(root)

results matching ""

    No results matching ""