xml.etree.ElementTree.ElementTree

class xml.etree.ElementTree.ElementTree(element=None, file=None)[source]

Methods

__format__ default object formatter
__init__([element, file])
__new__((S, ...)
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__(() -> int) size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
_setroot(element)
find(path[, namespaces])
findall(path[, namespaces])
findtext(path[, default, namespaces])
getiterator([tag])
getroot()
iter([tag])
iterfind(path[, namespaces])
parse(source[, parser])
write(file_or_filename[, encoding, ...])
write_c14n(file)