Related post: Transform XML to JSON in Ionic 2+ (with Angular 4.3+)
$ git clone https://github.com/ionicrun/transform-xml-to-json-ionic-2.git
$ cd transform-xml-to-json-ionic-2
$ npm i
# or
$ ionic cordova platform add android ios
You're all set! Go ahead and serve or run the Ionic 2+ (with Angular 4.3+) App and transform your XML into JSON!
$ ionic serve
# or
$ ionic cordova run ios
# or
$ ionic cordova run android