Skip to content
oozcitak edited this page Nov 18, 2011 · 20 revisions
npm install xmlbuilder
var doc = require('xmlbuilder').create();
doc.begin('root')
  .ele('hello')
    .txt('xml');
console.log(doc.toString()); // <root><hello>xml</hello></root>

See the Quick Start guide or Usage page for more detailed instructions.

Clone this wiki locally