QXmlReader, Event-Driven parsing