XML Schema documentation element
Definition and usage
The documentation element in the schema inputs text comments. This element must be within the annotation element.
Element information
Occurrence |
Unrestricted |
Parent element |
annotation |
Content |
Any valid 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 |
Οptional. Specifies the language used in the content. |
Παράδειγμα
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appInfo>Σημείωση CodeW3C.com</xs:appInfo>
<xs:documentation xml:lang="en">
Αυτό το Σχέδιο ορίζει μια σημείωση CodeW3C.com!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>