XML Schema appInfo 元素
定義和用法
appInfo 元素規(guī)定 annotation 元素中應用程序要使用的信息。該元素必須位于 annotation 中。
注釋:應用程序使用在 appinfo 元素內提供的信息處理指令。
元素信息
出現次數 | 無限制。 |
父元素 | annotation |
內容 | 任何格式正確的 XML 內容。 |
語法
<appInfo source=anyURL > Any well-formed XML content </appInfo>
屬性 | 描述 |
---|---|
source | 可選。一個 URI 引用,規(guī)定應用程序信息的來源。 |
例子 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>