xml.etree.ElementTree.Element

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

# Class Element

source code

    object --+
             |
            Element

Instance Methods | [hide private]
__delitem__(self, index) | source code
__getitem__(self, index) | source code
__init__(self, tag, attrib=`{``}`, **extra) x.__init__(...) initializes x; see help(type(x)) for signature | source code
__len__(self) | source code
__nonzero__(self) | source code
__repr__(self) repr(x) | source code
__setitem__(self, index, element) | source code
append(self, element) | source code
clear(self) | source code
copy(self) | source code
extend(self, elements) | 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
get(self, key, default=None) | source code
getchildren(self) | source code
getiterator(self, tag=None) | source code
insert(self, index, element) | source code
items(self) | source code
iter(self, tag=None) | source code
iterfind(self, path, namespaces=None) | source code
itertext(self) | source code
keys(self) | source code
makeelement(self, tag, attrib) | source code
remove(self, element) | source code
set(self, key, value) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| attrib = `None` hash(x)
| tag = `None` hash(x)
| tail = `None` hash(x)
| text = `None` hash(x)

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

Method Details | [hide private]

### __init__(self, tag, attrib=`{``}`, **extra) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)