67% found this document useful (3 votes)
216 views7 pages

WML Usha

WML is a tag-based markup language used for browsing on mobile devices, with user interactions divided into cards that allow navigation between screens and management of data input, hyperlinks, and state. Cards contain tags defining elements like paragraphs and line breaks, and are organized into decks for delivery to clients in a tokenized format without size constraints. A valid WML document follows an XML structure with a root <wml> tag enclosing at least one <card> containing content like text to display.

Uploaded by

mohanraop
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
67% found this document useful (3 votes)
216 views7 pages

WML Usha

WML is a tag-based markup language used for browsing on mobile devices, with user interactions divided into cards that allow navigation between screens and management of data input, hyperlinks, and state. Cards contain tags defining elements like paragraphs and line breaks, and are organized into decks for delivery to clients in a tokenized format without size constraints. A valid WML document follows an XML structure with a root <wml> tag enclosing at least one <card> containing content like text to display.

Uploaded by

mohanraop
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

WML

Usha
Agenda

Markup Language: WML

• Web equivalent: XML/HTML


• Tag-based browsing language
• Screen management
• Data input
• Hyperlinks
• XML based language
• Inherits from HDML and HTML
• WML Cards
– User interactions are split into cards
– Navigation between cards possible
• Card Navigation
– Hyperlinks, UI event handling
– History
• State Management
– Shared Variables
– Reduced network traffic
WML

Syntax
•<p> paragraph </p>
•Linebreak <br/>
•WML Tasks e.g. <go>, <prev>, <refresh>, …
Tokenized WML sent to client
•Implies content provider does not know the size

Deck = file.wml
Must contain atleast one card
Eg.
Agenda
• The first line specifies the XML version number.
• The second line specifies the SGML public document
identifier.
• The third line specifies the location of the WML document
type definition (DTD). The DTD can be located in the
network, or you can store it locally to make accessing it
faster. The Nokia WAP Toolkit includes the DTD file
wml.xml, found in the directory <installation
directory>\dtd.
• The fourth line is the root element of the XML document of
which there may only be only one and it must match the
root element name as indicated in the first argument of the
document type. All WML documents must begin with a
<wml> tag.
• The following lines define a card containing a start and an
end tag and text to be displayed to the user.
• All WML decks must end with a </wml> tag.
Agenda

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy