XML Schema documentation element

Definition and usage

The documentation element in the schema enters the text annotation. This element must be within the annotation element.

element information

occurrence times unrestricted
parent element annotation
content Any format-correct XML content.

grammar

<documentation
source=URI reference
xml:lang=language
>
Any well-formed XML content
</documentation>
properties description
source Optional. Specifies the source of the application information.
xml:lang Optional. Specifies the language used in the content.

Example

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
  <xs:appInfo>CodeW3C.com Note</xs:appInfo>
  <xs:documentation xml:lang="en">
  This Schema defines a CodeW3C.com note!
  </xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>