XML parser, Event-Driven parsing