elementtree :: 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 x.__class__.__doc__ for signature | source code

_setroot(self, element) | source code

find(self, path) | source code

findall(self, path) | source code

findtext(self, path, default=None) | source code

getiterator(self, tag=None) | source code

getroot(self) | source code

iter(self, tag=None) | source code

parse(self, source, parser=None) | source code

write(self, file, encoding=`'``us-ascii``'`, xml_declaration=None, default_namespace=None, method=None) | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

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 x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)