PyDocs

Nav

Structured Markup Processing Tools

Element.iter

xml.etree.ElementTree

method of Element · Added in 3.2
  • Element.iter(tag=None)
Creates a tree iterator with the current element as the root. The iterator iterates over this element and all elements below it, in document (depth first) order. If tag is not None or '*', only elements whose tag equals tag are returned from the iterator. If the tree structure is modified during iteration, the result is undefined.
0 Examples
No examples for xml.etree.ElementTree/Element.iter.
See Also
No see-alsos for xml.etree.ElementTree/Element.iter
0 Notes
No notes for Element.iter