Next / Previous / Contents / TCC Help System / NM Tech homepage

8.6. Element.findall(): Find all matching sub-elements

The .findall() method on an Element instance is very similar to Section 7.2, “ElementTree.findall(): Find matching elements”: it uses the same path description, and returns a sequence containing all the matching elements. However, the search starts at the given Element instead of starting at the top of the document. Syntax:

E.findall ( path )