WAP Development Getting Started - Building a development environment tells how to build a development environment of WAP applications, which will mainly introduce WML related knowledge, how to develop WAP applications.
WML is a XML-based tag language, and her official description and specification is maintained by the WAP forum. The WML document type is defined as an XML file type, http://www.wapforum.org/dtd/wml_1.1.xml. Like the HTML language, WML is to display data, while the purpose of XML is to describe data, we define a series of tags and organize to become a syntax specification to call it DTD (Document Type Definition). The WAP browser is installed in the mobile phone that he can resolve these tags and display it correctly on the phone screen.
Usually in the beginning of WML text, there is such a content We call it preambularly. The following is WML> tagged, all our data is nesting in these two tags. WML is very small, basic can be divided into two kinds known as deck / cards called Event. Here, you can't tell it here. When we develop WML applications, you can provide you with an online reference: Online WML Tag Reference. In the WML> tag We call it a decker, each screen, we define it as a CARD, because WML is defined for wireless network transmission, we can allow for a limit of bandwidth, we allow In a DECK contains multiple cars and can be downloaded to the user agent together so that we can switch between different screens locally, avoiding access every time. Of course, this also adds a burden to the client, so we have to avoid excessive CARDs in Deck.
Below we write a WML example test.wml, the content is as follows: XML Version = 1.0 '?> Do>