zstreams-xml-parser

0.1.0 • Public • Published

zstreams-xml-parser

XML parser based on zstreams that inputs a data stream of XML and outputs an event stream of events based on the sax XML parser.

var XMLParser = require('zstreams-xml-parser');
var zstreams = require('zstreams');

zstreams.fromFile('./example.xml').pipe(new XMLParser()).each(function(event) {
	console.log(evemt);
}).intoCallback(function(err) {
	// ...
});

/zstreams-xml-parser/

    Package Sidebar

    Install

    npm i zstreams-xml-parser

    Weekly Downloads

    2

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • crispy1989
    • giuocob