0.2.4 • Published 1 year ago

@crescentone/node-red-contrib-xml-validation v0.2.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Node-RED XML Validator Node

A Node-RED node to validate XML strings against a specified XSD.

Requirements

  • Node-RED
  • Java SDK Kit
  • All other requirements necessary for running Node-RED

Installation

  1. Run the following command in the root/node_modules directory of your Node-RED installation:
  • npm install red-contrib-xml-validate
  1. Restart Node-RED

Usage

  1. Drag the XML Validator node onto the flow canvas
  2. Double-click the node to open its configuration screen
  3. Set the display name as desired
  4. Enter the path to the XSD file
  5. Connect the XML Validator node to an input node that outputs the XML string to msg.payload
  6. The XML Validator node will look for the XML string in msg.payload
  7. If the XML string is valid, the XML Validator node will output to output #1
  8. If the XML string is invalid, the XML Validator node will output to output #2
  9. If there is an error with the input, the XML Validator node will output to output #3

Contributing

Feel free to contribute to this project by submitting a pull request or opening an issue.

CrescentOne Fork

For us at CrescentOne the existing Node-RED XML validator node was not exactly what we needed. We ended up with errors that we could not solve using the node. We managed to work around of the isseus, but could not do this evolving our solution. We had to decide. Are we going to develope a new node? Or create a fork, respecting the Apache License 2.0 and send our thanks to @aleshh for the work done in his earlier project. We decided to choose the latter. Special thanks to our young tallented intern Xander van Hunen and our developer Ajan Renders for taking this first step. In line with the invitation of the original creator of this node - feel free to contribute or comment on the project, by submitting a pull request or opening an issue. Cheers. AVS.

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago