QXmlContentHandler, Event-Driven parsing