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
The optional class core attribute is used to assign one or more classes to the element.
Multiple classes are separated by white space.
The class name is case sensitive (i.e., Stocks and stocks are not the same).
The optional id core attribute is used to assign a unique name to a tag.
The name must be unique to the entire deck and not just unique to a card.
The first character of the name can be a letter or the underscore.
The remaining characters can be any combination of letters, numbers, or underscores.
The optional xml:lang attribute sets the language used in the element, such as English or Greek.
For example, in the U.S. the default value is en-US.
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
<card id="card1" title="Card 1">
<go href="#card2" />
Please Click Accept
<card id="card2" title="Card 2">
DevGuru is great!
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.