Annotating Schemas: add information about your schema or its elements. : Annotation « XML Schema « XML Tutorial






You can create annotations right after the xsd:schema element to document the entire schema.

<annotation id="ID"
            {any attributes with non-schema namespace}>
  Content: (appInfo | documentation)*
</annotation>


File: Schema.xsd

<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
  <xsd:annotation>
    <xsd:documentation>
      test
    </xsd:documentation>
  </xsd:annotation>
</xsd:schema>








3.82.Annotation
3.82.1.Annotations provides documentation information, as well as additional application information
3.82.2.Annotating Schemas: add information about your schema or its elements.
3.82.3.Annotations for element tags