XML Schema appInfo 元素

定义和用法

appInfo 元素规定 annotation 元素中应用程序要使用的信息。该元素必须位于 annotation 中。

注释:应用程序使用在 appinfo 元素内提供的信息处理指令。

元素信息

出现次数无限制。
父元素annotation
内容任何格式正确的 XML 内容。

语法

<appInfo
source=anyURL
>
Any well-formed XML content
</appInfo>
属性描述
source可选。一个 URI 引用,规定应用程序信息的来源。

例子 1

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appInfo>W3School Note</xs:appInfo>
<xs:documentation xml:lang="en">
This Schema defines a W3School note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>