xml.dom.pulldom.DOMEventStream

class xml.dom.pulldom.DOMEventStream(stream, parser, bufsize)[source]

Methods

__getitem__(pos)
__init__(stream, parser, bufsize)
__iter__()
_emit() Fallback replacement for getEvent() that emits the events that _slurp() read previously.
_slurp() Fallback replacement for getEvent() using the standard SAX2 interface, which means we slurp the SAX events into memory (no performance gain, but we are compatible to all SAX parsers).
clear() clear(): Explicitly release parsing objects
expandNode(node)
getEvent()
next()
reset()