XML Schema appinfo 元素
定義和用法
appInfo 元素規定annotation 元素中應用程序要使用的信息。 該元素必須位於annotation 中。
元素信息
- 父元素: annotation
語法
<appinfo
source=anyURL
>
Any well-formed XML content
</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>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
<xs:annotation>
<xs:appinfo>W3CSchool Note</xs:appinfo>
<xs:documentation xml:lang="en">
This Schema defines a W3CSchool note!
</xs:documentation>
</xs:annotation>
.
.
.
</xs:schema>
完整XML Schema參考手冊