5

could you, please, point me to some working xml -> json translation library for node.js?

A SAX-styled would be preferable to get things done while the xml file is still receiving.

Thanks

kalise
  • 221
  • 5
  • 12

3 Answers3

5

https://github.com/isaacs/sax-js

fent
  • 17,861
  • 15
  • 87
  • 91
4

You can try xml2js. I've tried it myself, but for really simple xml, so I'm not sure if it will work "while the xml file is still receiving".

Aleksandar Vucetic
  • 14,715
  • 9
  • 53
  • 56
0

http://code.google.com/p/x2js But it working with DOM.

abdolence
  • 2,369
  • 1
  • 21
  • 29