|
|
|
|
|
__getitem__(...)
Returns the subelement at the given position or the requested
slice. |
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
get(...)
Gets an element attribute. |
|
|
|
getchildren(...)
Returns all subelements. The elements are returned in document
order. |
|
|
|
getnext(...)
Returns the following sibling of this element or None. |
|
|
|
getparent(...)
Returns the parent of this element or None for the root element. |
|
|
|
getprevious(...)
Returns the preceding sibling of this element or None. |
|
|
|
items(...)
Gets element attributes, as a sequence. The attributes are returned
in an arbitrary order. |
|
|
|
iterchildren(self,
tag=None,
reversed=False)
Iterate over the children of this element. |
|
|
|
keys(...)
Gets a list of attribute names. The names are returned in an
arbitrary order (just like for an ordinary Python dictionary). |
|
|
|
values(...)
Gets element attributes, as a sequence. The attributes are returned
in an arbitrary order. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|