ホーム HTML CSS XML JAVASCRIPT   PHP SQL MORE...   リファレンス 事例集    

XML スキーマ documentation 要素


XML Schema Reference 完全なXMLスキーマリファレンス

定義と用法

documentation 要素は、スキーマにテキストのコメントを入力するために使用します。 この要素は、annotation 要素の中に置かなければなりません。

要素情報

  • 親要素: annotation

構文

<documentation
source=URI reference
xml:lang=language>

Any well-formed XML content

</documentation>

属性 説明
source オプション。 Specifies the source of the application information
xml:lang オプション。 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 Schema Reference 完全なXMLスキーマリファレンス