libxml bindings for v8 javascript engine
npm install @rlyle1179/libxmljs
LibXML bindings for node.js
``javascript
var libxmljs = require("libxmljs");
var xml = '' +
'
'
'
'
'
'
var xmlDoc = libxmljs.parseXml(xml);
// xpath queries
var gchild = xmlDoc.get('//grandchild');
console.log(gchild.text()); // prints "grandchild content"
var children = xmlDoc.root().childNodes();
var child = children[0];
console.log(child.attr('foo').value()); // prints "bar"
`
* Docs - http://github.com/libxmljs/libxmljs/wiki
* Mailing list - http://groups.google.com/group/libxmljs
Check out the wiki http://github.com/libxmljs/libxmljs/wiki.
See the examples folder.
`shell``
npm install libxmljs
Start by checking out the open issues. Specifically the desired feature ones.
Make sure you have met the requirements for node-gyp. You DO NOT need to manually install node-gyp; it comes bundled with node.