michaelrsweet/Mini-XML — Issue #7: Stop SAX parsing from callback
Author: michaelrsweet
Created: 2012-01-01 08:14:36+00:00
State: open

[originally posted as STR #53 by leon.wennekers]

In a project i'm currently working on we have xml-files of several MB's. As i don't want to read the whole document in memory i will use the new SAX API. From this document i only want to read the attributes of the rootnode.

It would be nice if we could stop the stream parsing if we have found what we were looking for. So we don't need to read through the whole document.