Description
An AmlSpace is a standard text element for inserting spaces. AmlSpace can be added to an AmlForm or AmlPage.
Element Body
( (AmlContainer)*, AmlStyle? )
Parent
AmlPage, AmlForm, AmlGroup, AmlListItem
Restrictions
None
AML Attributes
Attribute |
Description |
Possible values |
Default |
Req’d? |
---|---|---|---|---|
size |
Set size of text |
CDATA |
1 |
No |
cache |
Turn caching on/off |
(true|false) |
true |
No |
persist |
Set the value of the persist flag |
(true|false) |
false |
No |
Markup Language Examples
Sample AML Input:
<AmlDocument> <AmlPage> <AmlText text="Hello World"/> <AmlSpace size="3"/> <AmlText text="End of Message."/> </AmlPage> </AmlDocument>
Sample WML Output:
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <head> <meta http-equiv="Cache-Control" content="max-age=0"/> </head> <card id="agp0"> <p align="center"></p> <p>Hello World End of Message. </p> </card> </wml>
Sample cHTML Output:
<html> <head> <title></title> <meta name="PalmComputingPlatform" content="true"></meta> <meta http-equiv="Pragma" content="no-cache"></meta> <meta http-equiv="Cache-Control" content="no-cache"></meta> </head> <body> <div align="center"> <a name="agp0"></a> </div> Hello World End of Message. </body> </html>