Open SaschaMendel opened 1 year ago
Generated structs are given an XMLName field + encoding/xml import.
XMLName xml.Name `json:"XMLName"
Sometimes you may not want this, for example when using an XSD just to generate structs for some other application than XML-parsing.
This feature adds a commandline option to omit those fields:
--noxml Don't generate XMLName fields on structs (Go)
Description
Generated structs are given an XMLName field + encoding/xml import.
Sometimes you may not want this, for example when using an XSD just to generate structs for some other application than XML-parsing.
This feature adds a commandline option to omit those fields:
Types of changes