Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project









WML TAG:  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
 
Attributes
 
class
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).
 
id
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.
 
xml:lang
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.
 
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>

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

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

</wml>


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information