Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Wml

Wml

Ratings:

4.0

(2)
|Views: 282 |Likes:
Published by Dheeraj

More info:

Published by: Dheeraj on Jan 02, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF or read online from Scribd
See more
See less

11/25/2010

 
COMPSCI 734April 7, 2008© Manoharan1
   N  e  w    Z  e  a   l  a  n   d
WML and WML Script
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
WML (Wireless Markup Language)
WML is a DTD of XML
Developped from an earlier language called HDML (Handheld
   N  e  w    Z  e  a   l  a  n   d
Devices Markup Language) from a company called
Unwired Planet 
This is “HTML” for wireless devices that are usually resourcelimited
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
WML Structure
WML applications use a card and deck metaphorA user interaction is reresented b a card, while a
 
   N  e  w    Z  e  a   l  a  n   d
complete task is represented by a deckA deck is the smallest unit of WML a web server can sendto a WAP browser, and it contains one or more cards
The browser displays one card at a time
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
WML: A Deck of Cards
Card
   N  e  w    Z  e  a   l  a  n   d
CardCardCard
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
 
COMPSCI 734April 7, 2008© Manoharan2
Hello World!
<?xml version="1.0"?>
""
   N  e  w    Z  e  a   l  a  n   d
< - .
"http://www.wapforum.org/DTD/wml_1.1.xml"><wml><card id="MainCard" title="My First WML Card"><p><=""=""><>
 
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
.Hello World! <br/><a href="click.wml">Click Me here…</a><br/></p></card></wml>
Hello World!
<?xml version="1.0"?>
"-"
   N  e  w    Z  e  a   l  a  n   d
.
"http://www.wapforum.org/DTD/wml13.dtd"><wml><card id="MainCard" title="My First WML Card"><p><=""=""><>
 
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
.Hello World! <br/><a href="click.wml">Click Me here…</a><br/></p></card></wml>
WML Example #1
SlashDeck
   N  e  w    Z  e  a   l  a  n   d
IndexPeopleCourses
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
c334c335c734
WML Example #1: Splash
<card id="Splash" title="Uni Wap Server">
   N  e  w    Z  e  a   l  a  n   d
<p align="center"><img src=“ClockTower.wbmp"alt="Welcome"/><br/><b><big>Uni Wap Server</big></b>
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
<><a href="#Index">Enter the Uni</a></p></card>
 
COMPSCI 734April 7, 2008© Manoharan3
WML Example #1: Index
<card id="Index" title="Main index">
   N  e  w    Z  e  a   l  a  n   d
<p>Choose the info type:<select><option title="Courses" onpick="#Courses">Course Information</option>""""
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
< = =>People Information</option></select></p></card>
WML Example #1: Courses
<card id="Courses" title="Course List">
   N  e  w    Z  e  a   l  a  n   d
<a href="#c334">Internet Programming</a><br/><a href="#c335">Distributed Objects &amp; Web Services</a><br/><a href="#c734">Pervasive Computing &amp; the Enterprise</a></p></card>
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
WML Example #1: c334
<card id="c334" title="Internet Programming">
   N  e  w    Z  e  a   l  a  n   d
<p>Internet ProgrammingCurrently on.</p></card>
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
WML Example #1: c335
<card id="c335" title="Distributed Objects
   N  e  w    Z  e  a   l  a  n   d
&amp; Web Services"><p>Distributed Objects &amp; Web ServicesNext Semester.</p>
   T   h  e   U  n   i  v  e  r  s   i   t  y  o   f   A  u  c   k   l  a  n   d
<>

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Iqbal Pratama liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->