Wireless Markup Language
(Category:Markup) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 30: | Line 30: | ||
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. | 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 <code> | + | WML also supports variable substitution for some reason. Variables are declared with the <code><VAR></code> element and invoked using a dollar sign, e.g. <code>$name</code>. |
== External links == | == External links == | ||
Line 39: | Line 39: | ||
[[Category:XML based file formats]] | [[Category:XML based file formats]] | ||
+ | [[Category:Web]] | ||
+ | [[Category:Markup]] |
Latest revision as of 16:08, 22 May 2017
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.
[edit] Description
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"> <WML> <CARD> ... </CARD> <CARD> ... </CARD> </WML>
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
.