PyDocs

Nav

Structured Markup Processing Tools

ElementTree.findall

  • ElementTree.findall(match, namespaces=None)
Find all matching subelements by tag name or path.

Same as getroot().findall(path), which is Element.findall().

*path* is a string having either an element tag or an XPath,
*namespaces* is an optional mapping from namespace prefix to full
name.

Return list containing all matching elements in document order.
0 Examples
No examples for xml.etree.ElementTree/ElementTree.findall.
See Also
No see-alsos for xml.etree.ElementTree/ElementTree.findall
0 Notes
No notes for ElementTree.findall