Skip to content

jojow/node-js-xmlify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-xmlify

Build Status

Use npm to install the package:

npm install js-xmlify

Before rendering a JavaScript object in XML, you may do:

var xmlify = require('js-xmlify');
var data; // your JavaScript object (or array)
xmlify.prerender(data); // object is modified inline

// render data as XML, e.g., using 'js2xmlparser'

In case you parsed data from XML to a JavaScript object, you may do:

var xmlify = require('js-xmlify');
var data; // read and parse XML document, e.g., using 'xml2js'
xmlify.postparse(data); // object is modified inline

About

Helper functions to deal with XML data structures and metadata in node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published