XML-Schema-Dokumentation Element
Definition und Verwendung
Dokumentation Element der Eingabetextanmerkung im Schema. Dieses Element muss innerhalb der Beschriftungselemente befinden.
Elementinformationen
- Übergeordnetes Element: Annotation
Grammatik
<documentation
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
source=URI reference
xml:lang=language>
Any well-formed XML content
</documentation>
属性 | 描述 |
---|---|
source | 可选。规定应用程序信息的来源。 |
xml:lang | 可选。规定内容中使用的语言。 |
Beispiel 1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
Vollständige XML - Schema - Referenz