libxmljs
libxml bindings for v8 javascript engine
Last updated 3 years ago by rchipka .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install libxmljs 
SYNC missed versions from official npm registry.

Libxmljs

Build Status

AppVeyor Build Status

LibXML bindings for node.js

var libxmljs = require("libxmljs");
var xml =  '<?xml version="1.0" encoding="UTF-8"?>' +
           '<root>' +
               '<child foo="bar">' +
                   '<grandchild baz="fizbuzz">grandchild content</grandchild>' +
               '</child>' +
               '<sibling>with content!</sibling>' +
           '</root>';

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"

Support

API and Examples

Check out the wiki http://github.com/libxmljs/libxmljs/wiki.

See the examples folder.

Installation via npm

npm install libxmljs

Contribute

Start by checking out the open issues. Specifically the desired feature ones.

Requirements

Make sure you have met the requirements for node-gyp. You DO NOT need to manually install node-gyp; it comes bundled with node.

Current Tags

  • 0.19.10                                ...           latest (3 years ago)

44 Versions

  • 0.19.10                                ...           3 years ago
  • 0.19.9                                ...           3 years ago
  • 0.19.8                                ...           3 years ago
  • 0.19.7                                ...           5 years ago
  • 0.19.5                                ...           6 years ago
  • 0.19.3                                ...           6 years ago
  • 0.19.1                                ...           6 years ago
  • 0.19.0                                ...           6 years ago
  • 0.18.9-pre0                                ...           7 years ago
  • 0.18.8                                ...           7 years ago
  • 0.18.7                                ...           7 years ago
  • 0.18.6                                ...           7 years ago
  • 0.18.4                                ...           8 years ago
  • 0.18.2                                ...           8 years ago
  • 0.18.0                                ...           9 years ago
  • 0.17.1                                ...           9 years ago
  • 0.17.0                                ...           9 years ago
  • 0.16.1                                ...           9 years ago
  • 0.16.0                                ...           9 years ago
  • 0.15.0                                ...           9 years ago
  • 0.14.3                                ...           9 years ago
  • 0.14.2                                ...           9 years ago
  • 0.14.1                                ...           10 years ago
  • 0.14.0                                ...           10 years ago
  • 0.13.0                                ...           10 years ago
  • 0.12.0                                ...           10 years ago
  • 0.11.1                                ...           10 years ago
  • 0.11.0                                ...           10 years ago
  • 0.10.0                                ...           11 years ago
  • 0.9.0                                ...           11 years ago
  • 0.8.1                                ...           12 years ago
  • 0.8.0                                ...           12 years ago
  • 0.7.1                                ...           12 years ago
  • 0.7.0                                ...           12 years ago
  • 0.6.1                                ...           12 years ago
  • 0.6.0                                ...           12 years ago
  • 0.5.4                                ...           13 years ago
  • 0.5.3                                ...           13 years ago
  • 0.5.2                                ...           13 years ago
  • 0.5.1                                ...           13 years ago
  • 0.5.0                                ...           13 years ago
  • 0.4.3                                ...           13 years ago
  • 0.4.2                                ...           13 years ago
  • 0.4.1                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |