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.
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.
cat test.xml | docker run -i czerniga/xml2xsd