当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > AppML 文档

APPML
AppML 简介
AppML 案例
AppML 案例说明
AppML 网络服务
案例研究简介
案例研究:数据库
案例研究:AppML
案例研究:HTML 报告
案例研究:HTML 表单
案例研究:目录
案例研究:产品
案例研究:托运人
案例研究:供应商
案例研究:客户
案例研究:雇员
案例研究:应用程序
案例研究:下载
AppML FAQ
AppML 文档
AppML 数据库元素

APPML 中的 AppML 文档


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

The <appml> element defines an AppML description.
<appml>元素定义了一个AppML描述。


The <appml> Element
<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>
<connection>northwind</connection>
<sql>SELECT CompanyName,ContactName,City FROM Customers</sql>
</database>
<htmlreport/>
</appml>

View the output produced by the AppML HTML Report Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件


<appml> Attributes
<appml> 属性

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
定义了访问应用程序的用户群


<appml> Child Elements
<appml> 子元素

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报告元素


评论 (0) All

登陆 | 还没注册?