How to support hierarchical inheritance in xsdgen tool I’ve generated structure in Go language from XSD using xsdgen tool. For example,