Thanks to visit codestin.com
Credit goes to github.com

Skip to content

adwicki/XsdTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XsdTools

Small tool to automatically download heavily linked XSD schemas and prepare the files in a way, so they can be easily fed to xsd.exe (https://learn.microsoft.com/en-us/dotnet/standard/serialization/xml-schema-definition-tool-xsd-exe) in order to generate C# classes.

Why? Because I really can't be bothered to do that manually.

Usage

From the help output of the tool:

Description:
  XsdTool

Usage:
  XsdTools [command] [options]

Options:
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  f, fetch <InputXsd>            Given an xsd schema, fetches all linked (imported) schemas.
  gc, generate-classes <Folder>  Generate classes given a folder with xsd schemas.

Command fetch, f

Description:
  Given an xsd schema, fetches all linked (imported) schemas.

Usage:
  XsdTools fetch <InputXsd> [options]

Arguments:
  <InputXsd>  The 'root' xsd file for which related schemas should be fetched

Options:
  --clean         If set, the output directory will be deleted before generation.
  -?, -h, --help  Show help and usage information

Command generate-classes, gc

Description:
  Generate classes given a folder with xsd schemas.

Usage:
  XsdTools generate-classes <Folder> [options]

Arguments:
  <Folder>  Specify the folder to process with the xsd tool.

Options:
  -?, -h, --help  Show help and usage information

About

Very small collection of xsd tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages