convert a subset of XML into JSON
Convert a subset of XML into JSON.
If you have tidy XML that has tags but no attributes, then with this module you can convert it into JSON.
If someplace it has more complex stuff, it'll probably barf. NO WARRANTY EXPRESSED OR IMPLIED
var XMLTGP =var JSONStream =processstdin
var XMLTGP =var through =processstdin
or as cli tool.
npm install -g xml-the-good-partsxml-the-good-parts < evilxml > nicejson