A Node-RED node to parse XML strings into JSON and vice-versa.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm i node-red-contrib-xml2
A function that converts the msg.payload
to and from XML format.
Uses the fast-xml-parser library.