SLL>for event, elem in ET.iterparse(xml, events=('start', 'end')): SLL> if event is "start": SLL>.... SLL>