ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: APPML :: AppML Îĵµ

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

APPML
AppML ¼ò½é
AppML °¸Àý
AppML °¸Àý˵Ã÷
AppML ÍøÂç·þÎñ
°¸ÀýÑо¿¼ò½é
°¸ÀýÑо¿£ºÊý¾Ý¿â
°¸ÀýÑо¿£ºAppML
°¸ÀýÑо¿£ºHTML ±..
°¸ÀýÑо¿£ºHTML ±..
°¸ÀýÑо¿£ºÄ¿Â¼
°¸ÀýÑо¿£º²úÆ·
°¸ÀýÑо¿£ºÍÐÔËÈË
°¸ÀýÑо¿£º¹©Ó¦ÉÌ
°¸ÀýÑо¿£º¿Í»§
°¸ÀýÑо¿£º¹ÍÔ±
°¸ÀýÑо¿£ºÓ¦ÓóÌ..
°¸ÀýÑо¿£ºÏÂÔØ
AppML FAQ
AppML Îĵµ
AppML Êý¾Ý¿âÔªËØ

AppML Îĵµ


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ä¯ÀÀ:3648 :: ::

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:
ÏÂÃæÊǷdz£¼òµ¥µÄ¹ØÓÚ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