node-red-contrib-fastxml 1.3.0

A Node-RED node to parse xml strings to json and vice-versa

npm install node-red-contrib-fastxml

node-red-contrib-fastxml

A Node-RED node to parse XML strings into JSON and vice-versa.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm i node-red-contrib-fastxml

Usage

A function that converts the msg.payload to and from XML format.

Uses the fast-xml-parser library.

NOTE: it is slightly different from the core XML node in that the default header for tag attributes can be left blank which can help flatten some XML docs, but does mean they can't be recontructed 1 for 1 in that case.

Node Info

Version: 1.3.0
Updated 3 weeks, 2 days ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

26 in the last week

Nodes

  • fastxml

Keywords

  • node-red
  • xml
  • fastxml

Maintainers