Convert XML pivot reports to JSON format
Flexmonster utility to convert old XML pivot reports (versions 1.5-2.2) to new JSON format (version 2.3+). Online version is available on Flexmonser website.
Usage
Simple html page
Npm module
Installation
$ npm install pivot-xml-report-converter
Examples
var converter = ;var xml = '<config>' + '<dataSource type="csv">' + '<filename>https://s3.amazonaws.com/flexmonster/2.3/data/data.csv</filename>' + '</dataSource>' + '</config>';var json = ;console;
The xml is type of String
.
In index.js
you can find the example with reading a local .XML
file and passing the String
data to the converter.