previous.gif (632 bytes)                                  Knowledge Systems Institute                               next.gif (623 bytes)                                                               BA513 Multi-media Information Systems      

                                                                      Wireless bank and WML  

                                                                                                                                            Prof : Dr. S.K Chang

                                                                                                                                            Student : Jin Lung Chen  

Components of WML

      As an XML-based language, WML derives much of its syntax from XML. Many rules of XML syntax  for example, case sensitivity, commenting style, and event handling   govern WML syntax. For a complete discussion of WML syntax and elements, see the WML specification from the WAP forum WML components include:

Elements

Specify markup and structural information about a WML deck. Elements are defined by tags just as HTML elements are. For example, elements containing content have start tags <tag_name>and end tags </tag_name>. All elements have two core attributes: id and class.

Attributes

Give more information about an element than its content contains. Attributes are specified in the start tag of an element and must be lowercase.

Variables

Can be used to specify parameters for both decks and cards. Variables are used to implement WML's mechanism for maintaining state. WML also has a mechanism for clearing all variable values.

Template elements

Elements that function at the deck level.

Links

Function in WML as they do in XHTML/HTML. Links are elements that create relationships between two elements in one card or between cards.

Intrinsic events

Indicate state transitions within user agents.Several WML elements can generate events;when a user interacts with them. A developer can then specify that the application performs certain tasks when one of these intrinsic events occurs.

¡@