This page was last modified 19:45, 6 March 2008.
WML
From Forum Nokia Wiki
Wireless Markup Language (WML) is an XML document prepared to format a webpage in a mobile browser. It was designed in the standard WAP 1.0 and was deprecated by XHTML MP. Many new devices/phones supports this language right now too.
The information is distributed in decks (a WML file) composed by cards (a visual webpage). Inside one deck, you can include many cards and you can link each other reducing server traffic.
It also supports images (in WBMP format), tables, forms and an script language, called WMLScript. It doesn't support color screens nor many advanced design features. XHTML MP (Mobile Profile) solves this problem using CSS.
You can test WML pages with many Nokia emulators and SDKs.
This is a sample of WML file:
<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" > <wml> <card id="main" title="First Card"> <p mode="wrap">This is our first mobile webpage <a href="#card2">Next</a></p> </card> <card id="card2" title="Second Card"> <p mode="wrap">This is our second card</p> </card> </wml>
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem viewing Multipart Messages in toolkit | soma_dey | General Browsing | 0 | 2002-11-13 02:08 |
| wml and php | childsdesign | Browsing and Mark-ups | 2 | 2002-06-29 20:42 |
| Browser Properties with WML | vvsnaresh | Mobile Java General | 0 | 2005-01-18 14:51 |
| Use WML with ASP | Nokia_Archived | Browsing and Mark-ups | 1 | 2002-05-16 18:49 |
| XSL parsing of xml into wml and html | Nokia_Archive | Browsing and Mark-ups | 1 | 2002-05-14 17:29 |
