Wireless Markup Language

From Just Solve the File Format Problem
Revision as of 16:08, 22 May 2017 by Jsummers (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Wireless Markup Language
Extension(s) .wml
Released 1998?

Wireless Markup Language (WML) is an HTML-variant markup language as part of the Wireless Application Protocol, an attempt to reinvent the Web for the bandwidth, CPU, and memory limitations of wireless networks and mobile devices.[1] WAP existed around the turn of the millennium, and flopped within a few years.

Curiously, the official site's hub page for WAP specifications links to password-protected documents. However, a slightly older copy can be found by search engine.

WML is accompanied by a scripting language called WMLScript. There is also a compact binary variant based on the WAP Binary XML Content Format.


WML is XML-based with an overall document structure that looks like this:

<?xml version="1.0"?>
<!DOCTYPE WML PUBLIC "-//WAPFORUM//DTD WML 1.0//EN" "http://www.wapforum.org/DTD/wml.xml">

A WML document is structured as a deck of navigable cards. One card is visible at a time, and may contain text and form input fields. Each card has an associated "action," which may involve navigation to other cards and submission of form data over the network.

WML also supports variable substitution for some reason. Variables are declared with the <VAR> element and invoked using a dollar sign, e.g. $name.

External links


  1. http://www.webopedia.com/TERM/W/WAP.html
Personal tools