xtraverse
Simplified traversal and building of an XML DOM.
This module provides a jQuery-like wrapper, but geared for
traversing and manipulating an XML DOM, as opposeed to an HTML DOM. The API
aims to be compatible with Strophe.js'
Builder
and Less-Than XML. The underlying DOM
is W3C standard, provided by XMLDOM.
Install
$ npm install xtraverse
Usage
Parse XML
var xml = fs;var feed = ;
Traverse XML
console;for var link = feed; linklength > 0; link = linknext'link' console;for var entry = feed; entrylength > 0; entry = entrynext'entry' console;
Build XML
var feed = ;
Tests
$ npm install
$ npm test
Status
Credits
License
Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>