xml.dom.minidom.NodeList

class xml.dom.minidom.NodeList[source]

Methods

__format__ default object formatter
__getitem__ x.__getitem__(y) <==> x[y]
__new__((S, ...)
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__reversed__ L.__reversed__() – return a reverse iterator over the list
__setstate__(state)
__sizeof__ L.__sizeof__() – size of L in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
_get_length()
_set_length(value)
append L.append(object) – append object to end
count(...)
extend L.extend(iterable) – extend list by appending elements from the iterable
index((value, [start, ...) Raises ValueError if the value is not present.
insert L.insert(index, object) – insert object before index
item(index)
pop(...) Raises IndexError if list is empty or index is out of range.
remove L.remove(value) – remove first occurrence of value.
reverse L.reverse() – reverse IN PLACE
sort L.sort(cmp=None, key=None, reverse=False) – stable sort IN PLACE;

Attributes

length The number of nodes in the NodeList.