XML Schema documentation要素


XML Schema 参考手册完全なXML Schemaリファレンスマニュアル

定義と使用法

documentation 要素は、schema内にテキストコメントを入力します。この要素は annotation 要素内に配置する必要があります。

要素情報

  • 親要素: annotation

構文

<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>サンプル Note</xs:appinfo>
  <xs:documentation xml:lang="en">
  This Schema defines a サンプル note!
  </xs:documentation>
</xs:annotation>

.
.
.

</xs:schema>


XML Schema 参考手册完全なXML Schemaリファレンスマニュアル その他の拡張機能