[stable since 2013] a lib for loading XML Schema Definition (XSD) files ➜ plus, a tool `makepkg` to code-generate from any *.xsd your Go package with all needed `struct`s to readily `xml.Unmarshal()` documents into, based on the XSD's schema definitions. NOT REALLY MAINTAINED FOR YEARS NOW: try the forks if running into issues.
This popped up during testing today. Since xml.Marshal marshals fields in the order they are in the struct, the struct fields need to match the ordering in the schema.
This popped up during testing today. Since xml.Marshal marshals fields in the order they are in the struct, the struct fields need to match the ordering in the schema.
Actual Output:
Expected Output: