Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (18 sloc) 0.623 kb

Build Status Dependency Status NPM version

gexode

Primitive XML generator for node.js

Example

var gexode = require(gexode), doc = gexode.doc, elem = gexode.elem;

var car = doc(elem('car', {wheels: 4}).text('Volvo'));
car.write(out);

renders as:

<?xml version='1.0' encoding='UTF-8'?>
<car wheels='4'>Volvo</car>

License

MIT

Jump to Line
Something went wrong with that request. Please try again.