node-xml2json

xml to json for Node.js

##xml2json Node.js Library 基于Node.js版的xml to json

安装:

$ npm install -g node-xml2json

使用:

var xml2json = require("node-xml2json");
var xml      = "hello";
var json     = xml2json.parser( xml );
console.log( json.xml )

详细用法:
http://www.thomasfrank.se/xml_to_json.html

测试:

..\node_modules\node-xml2json\test\ node test.js

其他版本的分页组件:
JavaScript版:https://github.com/Kenshin/js-pagination

version 1.0.0 [2012-05-06]

Copyright 2012 k-zone.cn
Licensed under MIT or GPL Version 2 licenses