XML Schema documentation element
Definition and usage
The documentation element in the schema enters text annotations. This element must be within the annotation element.
element information
occurrence times |
unrestricted |
parent element |
annotation |
content |
Any format-correct XML content. |
syntax
<documentation
source=URI reference
xml:lang=language
>
Any well-formed XML content
</documentation>
attribute |
description |
source |
Optionnel. Définit l'origine des informations de l'application. |
xml:lang |
Optionnel. Définit la langue utilisée dans le contenu. |
Exemple
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appInfo>CodeW3C.com Note</xs:appInfo>
<xs:documentation xml:lang="en">
Ce schéma définit une note de CodeW3C.com !
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>