I am doing some server side coding with JavaScript (node.js) and I would like to write valid xml.
I found two libs, but I am sure there are more/better!?
- http://goessner.net/download/prj/jsonxml/ (LGPL)
- not yet released: https://sourceforge.net/projects/jsonix (LGPL)
Requirements: open source (for commercial usage)
Would be cool if the project is fast, small and simple to use (in that order). And I would like to have a bit lower level access ala
doc.addElement('xy').addAttr('name', 'bob');
There are a number of XML libraries for node.js listed at http://github.com/ry/node/wiki/modules#parsers-xml
If memory serves, the one that has the most traction is http://github.com/polotek/libxmljs, which appears to be MIT licensed.