XMLスキーマドキュメント要素
❮完全なXMLスキーマリファレンス
定義と使用法
ドキュメント要素は、スキーマにテキストコメントを入力するために使用されます。この要素は、注釈要素の内部に配置する必要があります。
要素情報
- 親要素:注釈
構文
<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 contents |
例1
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>W3Schools Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3Schools note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
❮完全なXMLスキーマリファレンス