XML Schema documentation 元素

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>RUNOOPS Note</xs:appinfo>
  <xs:documentation xml:lang="en">
  This Schema defines a RUNOOPS note!
  </xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>

XML Schema 参考手册