XML Schema documentation element
Definition and usage
The documentation element in the schema contains text annotations. This element must be within the annotation element.
Element information
Occurrence |
Unrestricted |
Parent element |
Annotation |
Content |
Any well-formed XML content. |
Syntax
<documentation
source=URI reference
xml:lang=language
>
Any well-formed XML content
</documentation>
Attribute |
Description |
source |
Optional. Specifies the source of the application information. |
xml:lang |
Optional. Specifies the language used in the content. |
Instance
<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>