saxon-stream

saxon transform stream wrapper

saxon transform stream wrapper

$ 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');
xml.pipe(saxon.xslt('/path/to/xsl')).pipe(process.stdout);