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

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

APPML 中的 title


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

The <title> element defines a title for the application.
<title>元素为应用程序定义了一个标题。

If the <title> element is defined as a child of the <appml> element, it will be the DEFAULT title for the application.
如果<title>元素是作为<appml>元素的子元素被定义的,那么,它将作为应用程序的默认标题。

To define a particular title for the HTML report, HTML list, or HTML form, add a <title> element as a child of <htmlreport>, <htmllist>, or <htmlform>.
可以通过添加<htmlreport>、<htmllist>或<htmlform>的子元素来为HTML报告、HTML列表、HTML表单定义一个特殊的标题。

If the <title> element is omitted in either <htmlreport>, <htmllist>, or <htmlform>, the application will use the default title under the <appml> element.
如果在<htmlreport>、<htmllist>或<htmlform>中忽略了<title>元素,那么应用程序将会在<appml>元素下使用默认的标题。

Use the default title in the HTML report:
在HTML报告中使用一个默认的标题:

<?xml version="1.0" ?>
<appml>
<title>Northwind Categories</title>
<database>
<connection>northwind</connection>
<sql>SELECT Categoryname,Description FROM Categories</sql>
</database>
<htmlreport />
</appml>

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

View the XML source file
查看XML 源文件

Define a particular title for the HTML report:
在HTML报告中使用一个特殊的标题:

<?xml version="1.0" ?>
<appml>
<title>Northwind Categories</title>
<database>
<connection>northwind</connection>
<sql>SELECT Categoryname,Description FROM Categories</sql>
</database>
<htmlreport>
<title>My own Report Title</title>
</htmlreport>
</appml>

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

View the XML source file
查看XML 源文件

Define a particular title for the HTML list:
在HTML列表中使用一个特殊的标题:

<?xml version="1.0" ?>
<appml>
<title>Northwind Categories</title>
<database>
<connection>northwind</connection>
<maintable>categories</maintable>
<keyfield>categoryid</keyfield>
<sql>SELECT Categoryname,Description FROM Categories</sql>
</database>
<htmllist>
<title>My own List Title</title>
</htmllist>
</appml>

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

View the XML source file
查看XML 源文件


评论 (0) All

登陆 | 还没注册?