XML Schema appinfo 元素


XML Schema 參考手冊 完整 XML Schema 參考手冊

定義和用法

appInfo 元素規定 annotation 元素中應用程式要使用的資訊。該元素必須位於 annotation 中。

元素資訊

  • 父元素: annotation

語法

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

.
.
.

</xs:schema>


XML Schema 參考手冊 完整 XML Schema 參考手冊