An open API service indexing awesome lists of open source software.

https://github.com/codaxy/xsd2

Improved version of xsd.exe
https://github.com/codaxy/xsd2

Last synced: 3 months ago
JSON representation

Improved version of xsd.exe

Awesome Lists containing this project

README

          

# xsd2

Improved version of xsd.exe.

This version enables:

* List based collections in generated types
* Auto-capitalization of properties
* Nullable attribute types
* Removal of DebuggerStepThrough attribute

## Usage:
### Command line:
xsd2.exe <schema file> [/o:<output-directory>] [/ns:<namespace>] /all

### Example running for embedding in your CSPROJ (C# project):

```xml


.\













$(XsdFilesPath)%(Filename).xsd






<_FilesToDelete Include="*.cs"/>



```

## Notes:

* [PetaTest](http://www.toptensoftware.com/petatest/) framework is used for testing.
* Original idea http://mikehadlow.blogspot.com/2007/01/writing-your-own-xsdexe.html.