Notes and Comments (XSD)
One of the various UML concepts used to model schemas in MEGA is a text attribute called "comment". It is also possible to connect notes to the objects corresponding to these concepts. These notes can be of type "technical specification" or "documentation".
Comments and notes are generated as <annotation> tags containing <documentation> or <appinfo> tags.
Example
<xsd:annotation>
<xsd:documentation>
blabla1
</xsd:documentation>
<xsd:appinfo>
blabla2
</xsd:appinfo>
</xsd:annotation>
Comment attributes are generated as <documentation> tags.
Notes that do not have the "technical specification" stereotype are generated as <documentation> tags.
Notes of type "technical specification" are generated as <appinfo> tags.
You can connect an "external reference" to the notes with the "uri Reference" leg. This external reference is used to specify the address of an element supplementing the note. This location is generated in the "source" attribute of the <appinfo> and <documentation> tags.
Objects for which comments and notes are incorporated:
• classes
• Attributes
• roles
• constraints