WML » Tags » wml

<wml> ... </wml>

The wml tag delimits the beginning and end of an XML document. (In this regard, it essentially performs the same duties as the html tag does for an HTML document.) This tag also serves as a container for all of the tags, attributes, tables, images, links, and texts associated with a single deck of cards. (Remember that the card is the equivalent of a page and that a collection of cards is referred to as a deck.)

The wml element can contain only one optional nested head element, only one optional nested template element, and one or more number of nested card elements. Each of these three nested elements can, in turn, contain various other nested tags that allow you to create an XML document layout to suit your needs.
Nested Tags:  card  head  template


<?xml version="1.0"?>

<card id="card1" title="Card 1">
   <do type="accept">
      <go href="#card2" />
      Please Click Accept

<card id="card2" title="Card 2">
      DevGuru is great!

Language(s): WML

See Also: