emberfeather/node-xml2object — pull request #3 by evanderkoogh (2012-03-28 12:56:11+00:00)
Title: Add streaming capabilities

I needed to not only parse xml files, but also xml responses from an HTTP server. As these can get pretty big I have added the possibility to also use streaming.

This is the best I have come up without refactoring the interface much. Basically the xmlFile argument is now optional and I have documented the saxStream. So you can pipe your own stream with:

request.get('http://localhost:32400/library/sections/1/all').pipe(parser.saxStream);

Both code and read me are updated.