That's interesting.. xml2js returns a string in JSON format. Using sax-js
directly and creating the Javascript object as the file is being read is
more optiimal.

There's no reason to parse all that data twice.

On Fri, Mar 2, 2012 at 4:07 AM, Wan Li <[email protected]> wrote:

> On Fri, Mar 2, 2012 at 7:04 PM, fent <[email protected]> wrote:
>
>> Have a look at https://github.com/isaacs/sax-js
>
>
> xml2js is built on top of sax-js. I even hacked version to utilize the
> streaming API provided by sax-js, but doesn't help too much.
>
> --
> >: ~
>
> --
> 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

Reply via email to