saxpath
saxpath copied to clipboard
XPath evaluator against a SAX XML stream
Is it possible to match against multiple, different elements without needing to create 2 stream parsers? Or, are multiple parsers on the same stream the 'right' way to do this?...
As discussed in #10, this adds a new `Stream` class: ``` js var fileStream = fs.createReadStream('test/bookstore.xml'); var saxParser = sax.createStream(true); // normal usage var streamer = new saxpath.SaXPath(saxParser, '//book', /*...
Maybe a basic question, but is there a reason `saxpath` is a writable stream only, and emits a `match` event? It would be nice if it was a Duplex stream,...