existing complex XSD types: use xs:complexContent in combination with xs:extension
Posted by jpluimers on 2016/04/19
I tend to forget how to extend existing complex XSD types. It is by using xs:complexContent in combination with xs:extension: Element (complexContent).
A cool thing: xsd.exe supports this when generating .NET code (for instance C#).
More at XSD Tutorial – Part 3/5 – Extending Existing ComplexTypes and SimpleTypes.
–jeroen
Leave a comment