QXmlAttributes, Event-Driven parsing