npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@crescentone/node-red-contrib-xml-validation

v0.2.4

Published

Node-RED node node to validate xml content using xsd-schema-validator.

Downloads

53

Readme

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.