class xml.dom.pulldom.DOMEventStream(stream, parser, bufsize)
getEvent()
Return a tuple containing event and the current node as xml.dom.minidom.Document if event equals START_DOCUMENT, xml.dom.minidom.Element if event equals START_ELEMENT or END_ELEMENT or xml.dom.minidom.Text if event equals CHARACTERS. The current node does not contain informations about its children, unless expandNode() is called.
expandNode(node)
Expands all children of node into node. Example: from xml.dom imp