Home | Trees | Indices | Help |
|
---|
|
object --+ | iterwalk
iterwalk(self, element_or_tree, events=("end",), tag=None)
A tree walker that generates events from an existing tree as if it was parsing XML data with iterparse().
Just as for iterparse(), the tag argument can be a single tag or a sequence of tags.
After receiving a 'start' or 'start-ns' event, the children and descendants of the current element can be excluded from iteration by calling the skip_subtree() method.
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
the next value, or raise StopIteration |
|
||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
Prevent descending into the current subtree. Instead, the next returned event will be the 'end' event of the current element (if included), ignoring any children or descendants. This has no effect right after an 'end' or 'end-ns' event. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 2 20:55:26 2019 | http://epydoc.sourceforge.net |