当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > AppML 案例说明
This chapter explains the main parts of the AppML description from the previous chapter.
这章将讲述来自于前一章的AppML描述的主要部分。
The XML file below is the AppML description from the previous chapter:
下面的XML文件是前一章关于AppML的描述:
<appml> <title>CUSTOMERS</title> <database> <filters> <htmlform /> </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)存储。
The <title> element defines a default title for the application.
<title>元素为应用程序定义了一个默认的标题。
The <database> element contains information about the database connection.
<database>元素包含了关于数据库链接的信息。
The <filters> element defines a search function for the application.
<filters>元素为应用程序定义了一个搜索函数。
The <htmlform /> element defines support for a standard HTML input form.
<htmlform />元素定义了对标准的HTML输入表单的支持。
The <htmllist /> element defines support for a standard HTML list.
<htmllist />元素定义了对标准HTML列表的支持。
The <htmlreport /> element defines support for a standard HTML report.
<htmlreport />元素定义了对标准HTML报告的支持。
With AppML you can also define your own HTML forms, HTML lists, and HTML reports, to make your AppML applications look and function exactly the way you want.
通过AppML,你也可以定义你自己的HTML表单,HTML列表和HTML报告,从而使你的AppML应用程序符合你所期望的外观和功能。
Note: Each element in an AppML description will be explained in detail in the AppML case study and in the AppML reference.
注意:每个AppML描述元素都将在AppML案例学习和AppML参考中作详细解释。