xuri / xgen

XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator
BSD 3-Clause "New" or "Revised" License
313 stars 74 forks source link

Support for generating code from the NeTEx XSD schema #35

Open skinkie opened 2 years ago

skinkie commented 2 years ago

Is your feature request related to a problem? Please describe.

When creating code from the NeTEx XSD, I end up with a single Go file which does not encompass the entire distribution.

./go/bin/xgen -i /home/skinkie/Sources/NeTEx/xsd/NeTEx_publication.xsd -o /tmp/go-netex -l Go

Source: https://github.com/NeTEx-CEN/NeTEx/

Describe the solution you'd like

I would like to retrieve a data model for the entire distribution.

Describe alternatives you've considered

This is my first attempt to see if Go is capable of handling XSDs. For other languages I am using JAXB (Java) and xsData (Python).