Find all matching subelements by tag name or path. *path* is a string having either an element tag or an XPath, *namespaces* is an optional mapping from namespace prefix to full name. Returns list containing all matching elements in document order.
(self, path, namespaces=None)
| 299 | return ElementPath.findtext(self, path, default, namespaces) |
| 300 | |
| 301 | def findall(self, path, namespaces=None): |
| 302 | """Find all matching subelements by tag name or path. |
| 303 | |
| 304 | *path* is a string having either an element tag or an XPath, |
| 305 | *namespaces* is an optional mapping from namespace prefix to full name. |
| 306 | |
| 307 | Returns list containing all matching elements in document order. |
| 308 | |
| 309 | """ |
| 310 | return ElementPath.findall(self, path, namespaces) |
| 311 | |
| 312 | def iterfind(self, path, namespaces=None): |
| 313 | """Find all matching subelements by tag name or path. |
no outgoing calls