Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Looking for a good xml parser in stream mode
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jason. 桂林  
View profile  
 More options Aug 30 2012, 2:05 am
From: jason.桂林 <guil...@gmail.com>
Date: Thu, 30 Aug 2012 14:05:21 +0800
Local: Thurs, Aug 30 2012 2:05 am
Subject: [nodejs] Looking for a good xml parser in stream mode

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?

--
Best regards,

桂林 (Gui Lin)

guileen@twitter <https://twitter.com/#!/guileen>
桂糊涂@weibo <http://weibo.com/guileen>
guileen@github <https://github.com/guileen>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rektide  
View profile  
 More options Aug 30 2012, 2:37 am
From: rektide <rekt...@voodoowarez.com>
Date: Thu, 30 Aug 2012 02:37:21 -0400
Local: Thurs, Aug 30 2012 2:37 am
Subject: Re: [nodejs] Looking for a good xml parser in stream mode

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nuno Job  
View profile  
 More options Aug 30 2012, 2:42 am
From: Nuno Job <nunojobpi...@gmail.com>
Date: Thu, 30 Aug 2012 07:43:02 +0100
Local: Thurs, Aug 30 2012 2:43 am
Subject: Re: [nodejs] Looking for a good xml parser in stream mode
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 <rekt...@voodoowarez.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dhruvbird  
View profile  
 More options Aug 31 2012, 9:04 am
From: dhruvbird <dhruvb...@gmail.com>
Date: Fri, 31 Aug 2012 06:04:18 -0700 (PDT)
Local: Fri, Aug 31 2012 9:04 am
Subject: Re: [nodejs] Looking for a good xml parser in stream mode

imho, node-expat (by @astro) is one of the best things you can use - you
require to compile stuff though.
https://github.com/astro/node-expat/

otherwise, you can try http://github.com/robrighter/node-xml


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »