Wireless Markup Language

From Academic Kids

Wireless Markup Language is the primary content format for devices that implement the WAP (Wireless Application Protocol) specification based on XML, such as mobile phones. WML documents are XML documents that validate against the WML (currently version 1.1) DTD (Document Type Definition). You can use the W3C Markup Validation service (http://validator.w3.org/) to validate WML documents (they are validated against their declared document type).

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

WML pages are stored on a web server. They are accessed by a WAP gateway, which sits between mobile devices and the World Wide Web, passing pages from one to the other much like a proxy. This translates pages into a form suitable for mobiles. This process is hidden from the phone, so it may access the page in the same way as a browser accesses html, using a URL (for example http://example.com/foo.wml), if the mobile phone operator has not specifically prevented this.

Wireless Markup Language is a lot like HTML (Hyper Text Markup Language) in that it provides navigational support, data input, hyperlinks, text and image presentation, and forms. A WML document is known as a “deck”. Data in the deck is structured into one or more “cards” (pages) – each which represents a single interaction with the user. WML has a scaled down set of procedural elements which can be used by the author to control navigation to other cards.

Mobile devices are moving towards support for greater amounts of XHTML and even standard HTML as processing power in handsets increases. It is likely WML will be phased out in the future.

The Opera web browser supports WML.

There is also an extension available for the Mozilla/Firefox browsers to display WML content: http://wmlbrowser.mozdev.org/

More WML capable browsers/emulators:

WinWAP (http://winwap.com/) for Windows (http://winwap.com/products_2_1.php), for Pocket PC (http://winwap.com/products_2_2.php), for Windows Mobile 2003 (http://winwap.com/products_2_2.php).

Wapaka (http://www.digitalairways.com/wapaka/) for download (http://www.digitalairways.com/wapaka/download.asp) or online use (http://www.digitalairways.com/wapaka/wapaka.asp) (Java).

The only with strict WML syntax check:

Openwave phone simulator (http://developer.openwave.com/dvl/tools_and_sdk/openwave_mobile_sdk/phone_simulator/index.htm) v7.0 (http://odn.openwave.com/downloadManager.ow?softwareId=23), v6.2.2 (http://odn.openwave.com/downloadManager.ow?softwareId=3) for Windows.


Online WML/WAP browsers (no need to download):

Wapsilon (http://wapsilon.com/)

Tagtag (http://tagtag.com/cgi/wapemulator.cgi)

WML-generation tools:

WURFL (http://wurfl.sourceforge.net/)

DeviceSource (http://chiralsoftware.net/products.html)

See also


Template:Comp-stubde:Wireless Markup Language fr:Wireless Markup Language ko:WML nl:Wireless Markup Language pl:WML sv:Wireless Markup Language

Navigation

Academic Kids Menu

  • Art and Cultures
    • Art (http://www.academickids.com/encyclopedia/index.php/Art)
    • Architecture (http://www.academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (http://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (http://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools