xml.etree.ElementTree.ElementTree

xml :: etree :: ElementTree :: ElementTree :: Class ElementTree |
[hide private]
[frames] | no frames]

# Class ElementTree

source code

    object --+
             |
            ElementTree

Instance Methods | [hide private]
__init__(self, element=None, file=None) x.__init__(...) initializes x; see help(type(x)) for signature | source code
_setroot(self, element) | source code
find(self, path, namespaces=None) | source code
findall(self, path, namespaces=None) | source code
findtext(self, path, default=None, namespaces=None) | source code
getiterator(self, tag=None) | source code
getroot(self) | source code
iter(self, tag=None) | source code
iterfind(self, path, namespaces=None) | source code
parse(self, source, parser=None) | source code
write(self, file_or_filename, encoding=None, xml_declaration=None, default_namespace=None, method=None) | source code
write_c14n(self, file) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, element=None, file=None) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)