XMLスキーマのドキュメント要素
定義と使用法
スキーマ内の入力テキスト注釈のドキュメント要素。 この要素は注釈要素内に配置する必要があります。
要素情報
- 親エレメント:注釈
文法
<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 | 可选。规定内容中使用的语言。 |
例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>
完全なXMLスキーマリファレンス