Here is a simple example how to make an xml file from a local json file using nmp xml package, pretty-data package, I firstly used it on server side on AWS
Here is a simple example how to make an xml file from a local json file using nmp xml package, pretty-data package, I firstly used it on server side on AWS