If I have a lot of complex-types in xsd, which for example has some amount of common fields, like ‘id’, or ‘name’, or ‘date’ or ‘anyspecificId’, which means that those types quite similar to each other, and it would be nightmare to add again one common field to each of them. Is it possible to define some base type for complex type, so that this complex type would extend fields/items of base parent type?
In that case I just add this new field to base type, and not to each of child ones.
Is that possible?
If I have a lot of complex-types in xsd, which for example has some
Share
Of course you should use type extension:
http://www.w3schools.com/schema/el_extension.asp