Dispatch SAX events from an XML stream