[Cover] [Previous Section] [Next Section] [Index]

Current chapter: HDML Quick Reference
Section 30 out of 35 total sections , Section 2 out of 6 sections in this chapter


Defining cards and decks

To  Use  For more information 

Define a deck 

<HDML VERSION=hdml_version
TTL=
cache_time
MARKABLE=
boolean
PUBLIC=
boolean
ACCESSDOMAIN=
url
ACCESSPATH=
path>
actions
cards
</HDML>  

<HDML> and Cards and decks 

Define a Choice card 

<CHOICE
NAME=
card_name
MARKABLE=
boolean
TITLE=
card_title
BOOKMARK=
mark_URL
KEY=
varname
IKEY=
varname
METHOD=
choice_method
DEFAULT=
default_val
IDEFAULT=defaultnum>
actions
prompt_text
<CE ...> text1
<CE ...>
text2
...
</CHOICE>  

<CHOICE> and <CE>

See the following row in this table for the syntax of <CE> elements. 

Specify a choice entry in a choice card 

<CE
VALUE=
choice_value
TASK=task_type
LABEL=
accept_key_label
REL=NEXT
DEST=
dest_URL
VARS=
var_pairs
RECEIVE=
var_list
NEXT=
next_dest
CANCEL=cancel_dest
FRIEND=
boolean
SENDREFERER=
boolean
RETVALS=
value_list
CLEAR=
boolean
POSTMETHOD=
get_or_post
POSTDATA=
data_to_post
ACCEPT-CHARSET=
char_set
NUMBER=
number
>
text  

<CE> and Task types.  

Define a Display card 

<DISPLAY
NAME=card_name
MARKABLE=
boolean
TITLE=card_title
BOOKMARK=
mark_URL>
actions
display_text
</DISPLAY>  

<DISPLAY> 

Define an Entry card 

<ENTRY
NAME=
card_name
MARKABLE=
boolean
TITLE=card_title
BOOKMARK=
mark_URL>
FORMAT=
format_specifier
DEFAULT=
default_value
KEY=
var
NOECHO=boolean
EMPTYOK=
boolean>
actions
prompt_text
</ENTRY>  

<ENTRY> 

Define a No-Display card 

<NODISPLAY
NAME=card_name>
actions
</NODISPLAY>  

<NODISPLAY> 


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: HDML Quick Reference
Section 30 out of 35 total sections , Section 2 out of 6 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.