How to define xsi:type as an attribute in XML-schema?
You don’t need to – just declare the element without a type at all. The xsi:type attribute is used to indicate to the schema validator that the real type of a particular instance of an element is not the element’s declared type but rather a sub-type derived from the declared type. By declaring the element … Read more