browserify-xml
v0.0.4
Published
Module for converting xml into a an html element that can be displayed and human readable in a browser.
Downloads
2
Readme
browserify-xml
This is a simple node module for rendering browserified xml. It doesn't have many features so far. It just converts an xml v1.0 string into html that may be rendered and displayed in a browser.
Documentation
Installation
npm install --save browserify-xml
Usage
const browserify = require('browserify-xml');
const htmlMarkup = browserify('<myElement>some content here</myElement><elements><myelement>one</myelement><myelement>two</myelement></elements>');
The value of htmlMarkup
will be an html string that renders human readable xml when it is interpreted by a browser.