Try saxjs (github.com/isaacs/sax-js) Streaming path expressions? :) if you want an ee that emit on a path expression just create that module using a sax based parser
Sent from my iPhone On Aug 30, 2012, at 7:37 AM, rektide <[email protected]> wrote: > On Thu, Aug 30, 2012 at 02:05:21PM +0800, jason.桂林 wrote: >> A protocol using xml, socket stream >> first time I recieve >> <root foo=" >> 2nd time I recieve >> adsf">blabl >> 3rd time I recieve >> a</root><root >> Then I should get a xml <root foo="asdf">blabla</root> , and left <root >> waiting for new coming data. >> Any good module to do that? > > Still hoping someone makes an streaming Xpath module for Ltx, which seems to > be the fastest > streaming xml module out there: > https://npmjs.org/package/ltx > > There's an existing xpath module but it's not streaming based: > https://npmjs.org/package/ltx-xpath > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
