saxon-stream
v0.2.3
Published
saxon transform stream wrapper
Downloads
9
Readme
saxon-stream
saxon transform stream wrapper
Usage
$ npm install saxon-stream
var fs = require('fs'),
Saxon = require('saxon-stream');
var xml = fs.createReadStream('/path/to/xml');
var saxon = new Saxon('/path/to/saxon9he.jar');
saxon.on('error',function(err){ console.log(err) });
xml.pipe(saxon.xslt('/path/to/xsl')).pipe(process.stdout);