XML Schema documentation 元素
定义和用法
documentation 元素在 schema 中输入文本注释。该元素必须位于 annotation 元素内。
元素信息
出现次数 |
无限制 |
父元素 |
annotation |
内容 |
任何格式正确的 XML 内容。 |
语法
<documentation
source=URI reference
xml:lang=language
>
任何格式正确的 XML 内容
</documentation>
属性 |
描述 |
source |
任意。指定应用程序信息的来源。 |
xml:lang |
任意。指定内容中使用的语言。 |
例
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appInfo>CodeW3C.com ノート</xs:appInfo>
<xs:documentation xml:lang="en">
このスキーマは CodeW3C.com のノートを定義しています!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>