I need to add different types of documentation inside a XSD file. I would like be able to add an attribute named "type" to the documentation elements like here:
<xs:annotation>
<xs:documentation type="doc">
My documentation....
</xs:documentation>
<xs:documentation type="example">
My first example...
</xs:documentation>
<xs:documentation type="example">
My second example...
</xs:documentation>
<xs:documentation type="tip">
My tip.
</xs:documentation>
</xs:annotation>
I can change all needed in the XSD to make this possible. How can I do that?