WML Tutorial 2: Simple introduction Concepts about WML files WML DECKS
Here is a brief introduction to the concept of WML files, and other details will be described in detail in the following chapters.
Declare that since the WML language is inherited in XML, a valid WML document must contain an XML declaration and a file type declaration.
The following is the most common statement, because the WML grammar requires very strict, in order to avoid errors, the producer can copy paste to the production document.
XML Version = "1.0"?>
Note: XML Version = "1.0"?> The statement must appear in a Deck's first line, and must be written, inserting any character, even if it is space, it will cause a syntax error.
Main structure This is a simplest WML file:
XML Version = "1.0"?> < WML> Hello WAP! p> card> wml>