/xml2xsd

This project contains a simple console application whose purpose is to automatically generate XSD from the input XML file (STDIN)

Primary LanguageC#MIT LicenseMIT

XML Schema Generator

Action Status

Introduction

This project contains a simple console application whose purpose is to automatically generate XSD from the input XML file (STDIN). The application uses standard functions available in .net core 2.0.

Example - command line

This is a simple example on how to generate XSD from XML in console:

cat test.xml | dotnet "run" "--project" "xml2xsd.console\xml2xsd.console.csproj"

This example works on windows (powershell) and linux.

Example - docker

cat test.xml | docker run -i czerniga/xml2xsd

License

MIT License