Jump to content

Wireless Markup Language

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 80.221.16.9 (talk) at 13:34, 4 August 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Wireless Markup Language is the primary content format for devices that implement the WAP (Wireless Application Protocol) specification based on XML. For example, the following wml page could be saved as "example.wml":

 <?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">
     <p mode="wrap">This is a sample WML page.</p>
   </card>
 </wml>

WML pages can be stored on a normal web server. After this, they can be accessed using their normal url (eg. http://example.com/foo.wml), if mobile phone operator has not specifically prevented this.

See also: CHTML