0.24.2 • Published 9 years ago

xml-objtree v0.24.2

Weekly downloads
281
License
-
Repository
github
Last release
9 years ago

xml-objtree

This is a node.js port of the XML.ObjTree implementation from http://www.kawa.net/works/js/xml/objtree-e.html

Install

npm install --save xml-objtree

Usage

var ObjTree = require('xml-objtree');
var objTree = new ObjTree();

var xml = [
    '<?xml version="1.0" encoding="UTF-8"?>',
    '<books>',
    '<book id="1">The Art of Computer Programming</book>',
    '<book id="2">Introduction to Algorithms</book>',
    '</books>',
].join('\n');

var json = objTree.parseXML(xml);
0.24.2

9 years ago

0.24.1

9 years ago

0.24.0

9 years ago

0.1.0

9 years ago