当前位置: 首页 > 网络学院 > XML相关教程 > Schema (XSD) > XML Schema appInfo 元素

Schema (XSD)
Schema (XSD) 介绍
为何使用 XML Schemas?
如何定制 XSD
XSD - <schema>元素
XSD 简单元素
XSD 属性
XSD 约束面
XSD 复合元素
XSD 复合空元素
XSD 复合纯元素
XSD 复合纯文本
XSD 混合内容的复合类型
XSD 指示器复合类型
XSD <any> 元素
XSD <anyAttribute> 元素
XSD 元素替代
XSD 实例
XSD 字符串数据类型
XSD 日期数据类型
XSD 小数数据类型

Schema (XSD) 中的 XML Schema appInfo 元素


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 337 ::
收藏到网摘: n/a

Definition and Usage
定义和用法

The appInfo element specifies information to be used by the application. This element must go within an annotation element.
appInfo元素指定了应用程序使用的信息。这个元素必须在一个注释元素中。

Element Information
元素信息

  • Parent elements: annotation
    父类元素:注释

Syntax
语法

<appInfo
source=anyURL
>
Any well-formed XML content
</appInfo>

属性 描述
source Optional. A URI reference that specifies the source of the application information
可选参数。指定一个用于指明应用程序信息源的URI参数

Example 1
案例1

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

评论 (0) All

登陆 | 还没注册?