Annotations allow you to add information about an XSD model. Annotations can be added at the schema level or on any element or other object within an XML model targeted with XSD.
The General tab contains the following properties:
Property |
Description |
---|---|
ID | [annotation] Specifies the ID of the object, which must be unique within the model. |
Source | [documentation and application information] Specifies the source of the content as a URI. |
Language |
[documentation] Specifies the language used in the documentation. For example: en, en-GB, en-US, de, fr. |
The Content tab allows you to enter any well-formed XML content and the Preview tab (of the annotation or parent object) allows you to review the content within the appropriate tags. The following schema annotation contains a documentation element with well-formed XML content (an extract of a DTD file), and an appinfo element with a source URI: