当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > AppML 文档
The <appml> element defines an AppML description.
<appml>元素定义了一个AppML描述。
An AppML description always starts with <appml> and ends with </appml>. The description must be saved as an XML file (.xml).
一个AppML描述总是以<appml>开始,以</appml>结束。该描述必须以xml文件(.xml)存储。
Inside the <appml> element, there is a mandatory <database> element that contains information about the database connection, and other elements, like <htmlreport> and <htmlform>, that is used to describe different parts of the application.
在<appml>元素内,有一个包含数据库链接以及其它诸如<htmlreport> 和 <htmlform>这样的元素,用于描述应用程序中不同的部分。
Below is an example of a very simple AppML description:
下面是非常简单的关于AppML描述的案例:
<?xml version="1.0" ?> <appml> <database> <htmlreport/> </appml> |
View the output produced by the AppML HTML Report Service
查看由AppML HTML 报告服务输出的结果
View the XML source file
查看XML 源文件
The <appml> element may have the following attributes:
<appml>元素可以包含下面的属性:
Attribute 属性 | Value 值 | Description 描述 |
---|---|---|
security | usergroup | Defines which user group that will have access to the application 定义了访问应用程序的用户群 |
The <appml> element may have the following child elements:
<appml>元素可以包含下列子元素:
Element 元素 | Description 描述 |
---|---|
database | Contains information about the database connection 嵌套了数据库连接的信息 |
filters | Contains the fields the user can query and sort by at runtime 嵌套了用户查询和分类的字段信息 |
footer | Defines a footer that will be displayed after the output on the page 定义了在页面结果输出之后产生的页脚信息 |
header | Defines a header that will be displayed before the output on the page 定义了在页面结果输出之前产生的页眉信息 |
htmlform | Contains the elements of an HTML form 嵌套了HTML表单元素 |
htmllist | Contains the elements of an HTML list 嵌套了HTML 列表元素 |
htmlreport | Contains the elements of an HTML report 嵌套了HTML 报告元素 |
stylesheet | Defines a default stylesheet for the application 为应用程序定义了一个默认的样式表 |
title | Defines a default title (browser caption) for the application 为应用程序定义了一个默认的标题(浏览器标题) |
xmlreport | Contains the elements of an XML report 嵌套了一个XML报告元素 |