SlideShare a Scribd company logo
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WAP CLIENT APPLICATION SERVER WML File Request WML File Received WML Script File Request WML Script File Received WML File Request received WML File Sent WML Script File Req received WML Script File sent Through the Gateway Through the Gateway Through the Gateway Through the Gateway WML Script WML script is a lightweight procedural scripting language, which is based on ECMAScript, the standardized version of JavaScript
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
<?xml version=&quot;1.0&quot;?>  <!DOCTYPE wml PUBLIC &quot;-//WAPFORUM//DTD WML 1.1//EN&quot; &quot;http://www.wapforum.org/DTD/wml_1.1.xml&quot;>  First  Example : <wml>  <card id=&quot;First_Card&quot;>  <do type=&quot;accept&quot; label=&quot;Next&quot;>  <go href=&quot;#Second_Card&quot;/>  </do>  <p> Select <b>Next</b> to display the next card. </p> </card>  <card id=&quot;Second_Card&quot;> <p>  This card contains the following:...  </p>  </card>  </wml> The first two lines define the document prologue that identifies the XML  subset.   The  Next line defines the header of the WML deck.   This line of the deck specifies the header of the first card. This line defines an action, which specifies what the user agent should do when the user presses a specified function key. This line specifies the action related to the specified key.  Next Back
Example : The following example  demonstrates  a DO element  that includes a go task  for the  ACCEPT key . The first card in the deck specifies a <do> statement with the same  type attribute, so the card-level binding overrides the deck-level binding  for that car d. The deck-level binding still applies to the second and third cards in the deck. <wml> <template> <do type=&quot;accept&quot; label=&quot;Pick&quot;> <prev/> </do> </template> <card id=&quot;card1&quot;> <do type=&quot;accept&quot; label=&quot;Black&quot;>  <go href=&quot;#card2&quot;/>  </do> <do type=&quot;options&quot; label=&quot;White&quot;> <go href=&quot;#card3&quot;/>  </do> <p>  Pick a color:  </p> </card> <card id=&quot;card2&quot;>  <p>  You picked black.</p> </card> <card id=&quot;card3&quot;> <p> You picked white. </p></card>  </wml> ,[object Object],<do type=&quot; typ e&quot;  label=&quot; labe l&quot; name=&quot; nam e&quot; optional=&quot; boolea n&quot;>  task  </do> <onevent type=&quot; typ e &quot;> task </onevent> <postfield  name=&quot; valu e&quot;  value=&quot; valu e&quot;>
In the following example,  the onenterbackward event  causes the user agent to navigate to card2 when the user enters this card using a prev task or navigating backwards in the history stack. This means that card2 is displayed to the user instead of card1. Note that if the user navigates forward to this card by using the go task, for example, card1 is displayed. <card id=&quot;card1&quot;> <onevent type=&quot;onenterbackward&quot;> <go href=&quot;#card2&quot;/> </onevent> <p> Hello World! </p> </card> <card id=&quot;card2&quot;> <p> You came back!</p> </card> The following example posts three name values to the web server, letting you send data back from the client . HTTP POST method is used to send the data. <go method=&quot;post&quot; href=&quot;http://hostname/servlet/bank&quot;> <postfield name=&quot;money&quot; value=&quot;100&quot;/> <postfield name=&quot;account&quot; value=&quot;12345&quot;/> <postfield name=&quot;operation&quot; value=&quot;deposit&quot;/> </go>
Example : The following WML lets the user enter a stock symbol and then generates a URL request with the stock symbol specified in an argument.  <wml> <card> <do type=&quot;accept&quot;> <go href=&quot;http://foo.com/servlet/stock&quot; method=&quot;post&quot;> postfield name=&quot;stk” value=&quot;$(stock)&quot;> </do> <p>  Enter stock: <input name=&quot;stock&quot; format=&quot;4A&quot;/> </p> </card> </wml>  URL Request: http://foo.com/servlet/stock postfield: stock=“gm” ,[object Object],<go href=&quot; hre f&quot;  sendreferer=&quot; boolea n&quot; method=&quot; metho d” accept-charset=&quot; charse t&quot; > content  </go> <pre v>  content  </prev>  <noo p/>  <refres h>  content  </refresh>
[object Object],<input name=&quot; variabl e&quot;  title=&quot; labe l&quot; type=&quot; typ e&quot; value=&quot; valu e” value=&quot; defaul t&quot; format=&quot; mas k&quot; emptyok=&quot; boolea n&quot; size=&quot;n” maxlength=&quot;n&quot;  tabindex=&quot;n&quot;/> Example :   The following deck defines a card requesting the user to enter a name and a card displaying the name entered. <wml> <card id=&quot;Card_1&quot; title=&quot;Card 1&quot;> <do type=&quot;accept&quot;> <go href=&quot;#Card_2&quot;/> </do> <p>  Enter your name: <input name=&quot;username&quot;/> </p> </card> <card id=&quot;Card_2&quot; title=&quot;Card 2&quot;> <p>  Hello $(username)! </p> </card> </wml>
[object Object],<select  title=&quot; labe l&quot; multiple=&quot; boolea n&quot; name=&quot; variabl e&quot; value=&quot; defaul t&quot; iname=&quot; index_va r&quot; ivalue=&quot; defaul t&quot; tabindex=&quot;n&quot;> content  </select> <option  title=&quot; labe l&quot; value=&quot; valu e&quot; onpick=&quot; hre f&quot;>  content  </option> <optgroup  title=&quot; labe l&quot;> content  </optgroup>  <fieldset  title=&quot; labe l&quot;>  content  </fieldset> Example : Single-choice list : The following example illustrates a simple single-choice list with a default value. <wml> <card> <p> Please choose your favorite animal: <select iname=&quot;I&quot; ivalue=&quot;1&quot;> <option value=&quot;D&quot;>Dog</option> <option value=&quot;C&quot;>Cat</option> </select> </p> </card> </wml>
[object Object],Option groups list: The following example demonstrates the use of option groups.. <wml> <card id=&quot;card1&quot; title=&quot;Country&quot;> <p> Select a country: <select name=&quot;country&quot; multiple=&quot;true&quot; tabindex=&quot;2&quot;> <optgroup title=&quot;Scandinavia&quot;> <option value=&quot;den&quot;>Denmark</option> <option value=&quot;fin&quot;>Finland</option> <option value=&quot;nor&quot;>Norway </option> <option value=&quot;swe&quot;>Sweden </option> </optgroup> <optgroup title=&quot;Europe&quot;> <option value =&quot;fra&quot;>France </option> <option value =&quot;ger&quot;>Germany</option> <option value =&quot;ita&quot;>Italy </option> <option value =&quot;spa&quot;>Spain </option> </optgroup> </select></p> </card> </wml>
[object Object],<anchor title=&quot; labe l&quot;>  task tex t</anchor> <a  title=&quot; labe l&quot;>  href =&quot;href&quot;  text  </a> Example : The following WML deck includes a link to the file.wml. When the user activates the link, the user agent navigates to the file.wml and sets the specified variable . <wml> <card id=&quot;links&quot; title=&quot;Links&quot;> <p> This is normat text, but here is a <anchor title=&quot;LINK&quot;>link! <go href=&quot;dir/file.wml&quot;> <setvar name=&quot;var_name&quot; value=&quot;var_value&quot;/> </go> </anchor> </p> </card> </wml> Dir/file.wml
[object Object],<img alt=&quot; tex t&quot; src=&quot; ur l&quot;  localsrc=&quot; ico n&quot; align=&quot; alignmen t&quot; height=&quot;n&quot; width=&quot;n&quot; vspace=&quot;n&quot; hspace=&quot;n&quot;/> Example : <?xml version=&quot;1.0&quot;?> <!DOCTYPE wml PUBLIC &quot;-//WAPFORUM//DTD WML 1.1//EN&quot;  &quot;http://www.wapforum.org/DTD/wml_1.1.xml&quot;> <wml> <card id=&quot;mycard&quot; title=&quot;My girlfriend&quot;> <p><img src=&quot;testimage.wbmp&quot; alt=&quot;Pretty girl&quot;/></p> <p>Check out my girlfriend!<br/>(I wish :-)</p> </card> </wml> Only support images in a special wireless image  format called WBMP. Not GIF, not JPEG's
[object Object],<timer  name=&quot; variabl e&quot;  value=&quot; valu e &quot;/> Example :
[object Object],<setvar name=&quot; nam e&quot; value=&quot; valu e &quot;/> Naming variables : WML variable names consist of an US-ASCII letter or underscore followed by a  zero or more letters, digits or underscores. Any other characters are illegal. Variable names are case-sensitive. Setting variables : There are a number of ways to set the value of a variable. When a variable is set and already defined in the browser context, the current value is updated The VAR element specifies a variable name and value, for example: <setvar name=&quot;location&quot; value=&quot;$(X)&quot;/> Substituting variables: Variable values can be substituted into formatted text, option values and URL attributes in WML elements. However, note that only textual information can be substituted, that is, no substitution of elements or attributes is possible. The substitution of variable values happens at runtime in the user agent . Variable example The following example demonstrates the use of tasks and variables in WML decks and cards. Note that the variables will not be set until the user navigates to the second card of the deck.
[object Object],<wml>  <card id=&quot;card1&quot; title=&quot;First Card&quot; newcontext=&quot;true&quot;> <p> Card 1 Contents... <br/> <!-- The follw. variables will not be defined until the other card in this deck is entered. --> card1 var1 = $(card1_var1) <br/> card2 var1 = $(card2_var1) <br/>  </p> <do type=&quot;accept&quot; label=&quot;Next&quot;> <go href=&quot;#card2&quot;> <setvar name=&quot;card1_var1&quot; value=&quot;val_1&quot;/> </go> </do>  </card> <card id=&quot;card2&quot; title=&quot;Second Card&quot;> <onevent type=&quot;onenterforward&quot;> <refresh> <setvar name=&quot;card2_var1&quot; value=&quot;val_2&quot;/> </refresh> </onevent> <p>  Card 2 Contents... <br/> card1 var1 = $(card1_var1) <br/> card2 var1 = $(card2_var1) <br/> </p> <do type=&quot;prev&quot; label=&quot;Previous&quot;> <prev/> </do>  </card> </wml> Press Upon entry to the second card, the variable card2_var1 is set  and the browsercontext is  refreshed. The variables have not  yet been set.
[object Object],Tag  Explanation <br> <p  align=&quot; alignmen t&quot; mode=&quot; wrapmod e&quot;/> Establishes the line wrap and alignment f or a paragraph. <e m>  text  </em> Render with emphasis. <stron g> text </strong> Render with strong emphasis. < b>  text  </b>  < i>  text  </i> Render with Bold & Italic. < u>  text  </u> Render with underline. <bi g>  text  </big>  Render with a large font. <smal l>  text  </small> Render with a small font The following WML illustrates the use of text emphasis tags . <wml> <card id=&quot;card1&quot;> <p><em> A  <u> Demonstration  </u> of Nokia’s <i> <strong> Wireless Application Protocol <br/> </strong></i>  <b> Toolkit</b> </em> </p></card> </wml>
<table  title=&quot; valu e&quot; align=&quot; alignmen t&quot; columns=&quot; numbe r&quot;/> <t r> </tr>  <t d> text layout img anchor a  </td> ,[object Object],Example : The following example contains a card with a table that has six rows and three cells of data in each row. On rows two through 6, the second cell contains a wireless bitmap. <wml> <card id=&quot;card1&quot; title=&quot;Weather Forecast&quot;> <p> <table columns=&quot;3&quot;> <tr><td>Day</td><td>Wthr</td><td>Temp</td></tr> <tr> <td>M 6/7</td> <td><img src=&quot;rainy.wbmp&quot; alt=&quot;rain&quot;/></td> <td>25' C</td></tr> <tr> <td>T 6/8</td> <td><img src=&quot;partcldy.wbmp&quot; alt=&quot;partcldy&quot;/></td><td>27' C</td></tr> <tr><td>W 6/9</td><td><img src=&quot;cloudy.wbmp” alt=&quot;cloudy&quot;/></td><td>24' C</td></tr> <tr><td>T 6/10</td><td><img src=&quot;rainy.wbmp&quot; alt=&quot;rainy&quot;/></td><td>28' C</td></tr> <tr><td>F 6/11</td><td><img src=&quot;sunny.wbmp&quot; alt=&quot;sunny&quot;/></td><td>29' C</td></tr> </table> </p> </card> </wml>
[object Object],Entity  Notation  Explanation quot  &#34;  quotation mark amp &#38;  ampersand apos  &#39;  apostrophe lt  &#60;  less than gt  &#62;  greater than nbsp  &#160;  non-breaking space shy  &#173;  soft hyphen (discretionary hyphen ) Example :  The following code includes a  less than  character (<) in the escaped form  &#60. <wml> <card id=&quot;Card_1&quot;> <p> Numerically 5 &#60; 10 </p> </card> </wml>
[object Object],Example: <wml>  <card id=&quot;card1&quot;> <p> Ampersand = &amp; <br/> Quote = &quot; <br/> Less than = &lt; <br/> </p> </card> <wml>

More Related Content

What's hot

Html ppt
Html pptHtml ppt
Html ppt
sanjay joshi
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Html Ppt
Html PptHtml Ppt
Html Ppt
Hema Prasanth
 
CSS
CSSCSS
CSS
bjornh
 
Lecture 2 - Comm Lab: Web @ ITP
Lecture 2 - Comm Lab: Web @ ITPLecture 2 - Comm Lab: Web @ ITP
Lecture 2 - Comm Lab: Web @ ITP
yucefmerhi
 
Web publishing and XHTML
Web publishing and XHTMLWeb publishing and XHTML
Web publishing and XHTML
bjornh
 
New HTML5/CSS3 techniques
New HTML5/CSS3 techniquesNew HTML5/CSS3 techniques
New HTML5/CSS3 techniques
mbeatrizoliveira
 
Html
HtmlHtml
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Html tags
Html tagsHtml tags
Html tags
Gaurav Jaiswal
 
Lect_html1
Lect_html1Lect_html1
Lect_html1
ibrahim osama
 
Html basic
Html basicHtml basic
Html basic
Nital Shingala
 
Handout7 html forms
Handout7 html formsHandout7 html forms
Handout7 html forms
Nadine Guevarra
 
Basics Of Html
Basics Of HtmlBasics Of Html
Basics Of Html
Sal Baldovinos
 
Html
HtmlHtml
Html
HtmlHtml
Basic HTML
Basic HTMLBasic HTML
Basic HTML
coachhahn
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
Jerome Locson
 

What's hot (18)

Html ppt
Html pptHtml ppt
Html ppt
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
CSS
CSSCSS
CSS
 
Lecture 2 - Comm Lab: Web @ ITP
Lecture 2 - Comm Lab: Web @ ITPLecture 2 - Comm Lab: Web @ ITP
Lecture 2 - Comm Lab: Web @ ITP
 
Web publishing and XHTML
Web publishing and XHTMLWeb publishing and XHTML
Web publishing and XHTML
 
New HTML5/CSS3 techniques
New HTML5/CSS3 techniquesNew HTML5/CSS3 techniques
New HTML5/CSS3 techniques
 
Html
HtmlHtml
Html
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html tags
Html tagsHtml tags
Html tags
 
Lect_html1
Lect_html1Lect_html1
Lect_html1
 
Html basic
Html basicHtml basic
Html basic
 
Handout7 html forms
Handout7 html formsHandout7 html forms
Handout7 html forms
 
Basics Of Html
Basics Of HtmlBasics Of Html
Basics Of Html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 

Viewers also liked

Decreto 1609 de 2002
Decreto 1609 de 2002Decreto 1609 de 2002
Decreto 1609 de 2002
Raúl Alarcón Bermúdez
 
The Persian Wars!!!!!
The Persian Wars!!!!!The Persian Wars!!!!!
The Persian Wars!!!!!
jweaver00
 
Tom tellez sprinting a biomechanical approach
Tom tellez sprinting   a biomechanical approachTom tellez sprinting   a biomechanical approach
Tom tellez sprinting a biomechanical approach
Flavio Clesio
 
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA DE...
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA  DE...LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA  DE...
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA DE...
Vilma Mila
 
Gdp2 2013 14-9
Gdp2 2013 14-9Gdp2 2013 14-9
Gdp2 2013 14-9
elena.pasquinelli
 
Marzanos observationalprotocol updated_feb2010
Marzanos observationalprotocol updated_feb2010Marzanos observationalprotocol updated_feb2010
Marzanos observationalprotocol updated_feb2010
Tim Dadich
 
The Impact of Emotional Intelligence: Understanding Consumer Behavior
The Impact of Emotional Intelligence: Understanding Consumer BehaviorThe Impact of Emotional Intelligence: Understanding Consumer Behavior
The Impact of Emotional Intelligence: Understanding Consumer Behavior
Ashford University
 
Impacto del contenido online en el turismo europeo
Impacto del contenido online en el turismo europeoImpacto del contenido online en el turismo europeo
Impacto del contenido online en el turismo europeo
David Mora
 
Apostia de Direito Civil Completa
Apostia de Direito Civil CompletaApostia de Direito Civil Completa
Apostia de Direito Civil Completa
Henrique Araújo
 
Mining the Brandscape: The Future of Marketing Research
Mining the Brandscape: The Future of Marketing ResearchMining the Brandscape: The Future of Marketing Research
Mining the Brandscape: The Future of Marketing Research
Lucia Trezova
 
How to Give Great Presentations
How to Give Great PresentationsHow to Give Great Presentations
How to Give Great Presentations
Philip Duff
 
Ratio analysis1
Ratio analysis1Ratio analysis1
Ratio analysis1
Anjaneyulu Bandi
 
Victimologia
VictimologiaVictimologia
Victimologia
Eric Morin
 
Gestão de serviços em ti
Gestão de serviços em tiGestão de serviços em ti
Gestão de serviços em ti
luana vianna de assis
 
Customer Value In Relatie Tot E Overheid (Definitief)
Customer Value In Relatie Tot E Overheid (Definitief)Customer Value In Relatie Tot E Overheid (Definitief)
Customer Value In Relatie Tot E Overheid (Definitief)DCQHavermans
 
E-Book Convergência DOM Strategy Partners 2009
 E-Book Convergência DOM Strategy Partners 2009 E-Book Convergência DOM Strategy Partners 2009
E-Book Convergência DOM Strategy Partners 2009
DOM Strategy Partners
 
Design for Interaction
Design for InteractionDesign for Interaction
Design for Interaction
Evan, Tian Cherng Kong
 
Ethos pathos logos
Ethos pathos logosEthos pathos logos
Ethos pathos logos
Cam Matthews
 
Richland2 2011
Richland2 2011Richland2 2011
Richland2 2011
Helen Barrett
 

Viewers also liked (20)

Decreto 1609 de 2002
Decreto 1609 de 2002Decreto 1609 de 2002
Decreto 1609 de 2002
 
The Persian Wars!!!!!
The Persian Wars!!!!!The Persian Wars!!!!!
The Persian Wars!!!!!
 
Tom tellez sprinting a biomechanical approach
Tom tellez sprinting   a biomechanical approachTom tellez sprinting   a biomechanical approach
Tom tellez sprinting a biomechanical approach
 
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA DE...
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA  DE...LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA  DE...
LA ADMINISTRACIÓN DEL RIESGO OPERATIVO EN LA IMPLEMENTACION DE UN SISTEMA DE...
 
Gdp2 2013 14-9
Gdp2 2013 14-9Gdp2 2013 14-9
Gdp2 2013 14-9
 
Marzanos observationalprotocol updated_feb2010
Marzanos observationalprotocol updated_feb2010Marzanos observationalprotocol updated_feb2010
Marzanos observationalprotocol updated_feb2010
 
The Impact of Emotional Intelligence: Understanding Consumer Behavior
The Impact of Emotional Intelligence: Understanding Consumer BehaviorThe Impact of Emotional Intelligence: Understanding Consumer Behavior
The Impact of Emotional Intelligence: Understanding Consumer Behavior
 
Impacto del contenido online en el turismo europeo
Impacto del contenido online en el turismo europeoImpacto del contenido online en el turismo europeo
Impacto del contenido online en el turismo europeo
 
Apostia de Direito Civil Completa
Apostia de Direito Civil CompletaApostia de Direito Civil Completa
Apostia de Direito Civil Completa
 
Mining the Brandscape: The Future of Marketing Research
Mining the Brandscape: The Future of Marketing ResearchMining the Brandscape: The Future of Marketing Research
Mining the Brandscape: The Future of Marketing Research
 
How to Give Great Presentations
How to Give Great PresentationsHow to Give Great Presentations
How to Give Great Presentations
 
Ratio analysis1
Ratio analysis1Ratio analysis1
Ratio analysis1
 
Victimologia
VictimologiaVictimologia
Victimologia
 
Gestão de serviços em ti
Gestão de serviços em tiGestão de serviços em ti
Gestão de serviços em ti
 
Customer Value In Relatie Tot E Overheid (Definitief)
Customer Value In Relatie Tot E Overheid (Definitief)Customer Value In Relatie Tot E Overheid (Definitief)
Customer Value In Relatie Tot E Overheid (Definitief)
 
E-Book Convergência DOM Strategy Partners 2009
 E-Book Convergência DOM Strategy Partners 2009 E-Book Convergência DOM Strategy Partners 2009
E-Book Convergência DOM Strategy Partners 2009
 
Design for Interaction
Design for InteractionDesign for Interaction
Design for Interaction
 
Sp rapport
Sp rapportSp rapport
Sp rapport
 
Ethos pathos logos
Ethos pathos logosEthos pathos logos
Ethos pathos logos
 
Richland2 2011
Richland2 2011Richland2 2011
Richland2 2011
 

Similar to Quick Referance to WML

Grddl In A Nutshell V1
Grddl In A Nutshell V1Grddl In A Nutshell V1
Grddl In A Nutshell V1
Fabien Gandon
 
Lecture1 B Frames&Forms
Lecture1 B  Frames&FormsLecture1 B  Frames&Forms
Lecture1 B Frames&Forms
Sur College of Applied Sciences
 
We9 Struts 2.0
We9 Struts 2.0We9 Struts 2.0
We9 Struts 2.0
wangjiaz
 
Php Form
Php FormPhp Form
Php Form
lotlot
 
JSP Custom Tags
JSP Custom TagsJSP Custom Tags
JSP Custom Tags
BG Java EE Course
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schema
gauravashq
 
Ajax ons2
Ajax ons2Ajax ons2
Ajax ons2
Chad Davis
 
XML Training Presentation
XML Training PresentationXML Training Presentation
XML Training Presentation
Sarah Corney
 
From "Username and Password" to InfoCard
From "Username and Password" to InfoCardFrom "Username and Password" to InfoCard
From "Username and Password" to InfoCard
goodfriday
 
HTML5 Web Forms
HTML5 Web FormsHTML5 Web Forms
HTML5 Web Forms
Estelle Weyl
 
YL Intro html
YL Intro htmlYL Intro html
YL Intro html
dilom1986
 
Html
HtmlHtml
Html
HtmlHtml
Lecture3
Lecture3Lecture3
XML processing with perl
XML processing with perlXML processing with perl
XML processing with perl
Joe Jiang
 
Introduction To Xml
Introduction To XmlIntroduction To Xml
Introduction To Xml
bdebruin
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
Suite Solutions
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18
HUST
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
mohamed ashraf
 
Intro Html
Intro HtmlIntro Html
Intro Html
Chidanand Byahatti
 

Similar to Quick Referance to WML (20)

Grddl In A Nutshell V1
Grddl In A Nutshell V1Grddl In A Nutshell V1
Grddl In A Nutshell V1
 
Lecture1 B Frames&Forms
Lecture1 B  Frames&FormsLecture1 B  Frames&Forms
Lecture1 B Frames&Forms
 
We9 Struts 2.0
We9 Struts 2.0We9 Struts 2.0
We9 Struts 2.0
 
Php Form
Php FormPhp Form
Php Form
 
JSP Custom Tags
JSP Custom TagsJSP Custom Tags
JSP Custom Tags
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schema
 
Ajax ons2
Ajax ons2Ajax ons2
Ajax ons2
 
XML Training Presentation
XML Training PresentationXML Training Presentation
XML Training Presentation
 
From "Username and Password" to InfoCard
From "Username and Password" to InfoCardFrom "Username and Password" to InfoCard
From "Username and Password" to InfoCard
 
HTML5 Web Forms
HTML5 Web FormsHTML5 Web Forms
HTML5 Web Forms
 
YL Intro html
YL Intro htmlYL Intro html
YL Intro html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Lecture3
Lecture3Lecture3
Lecture3
 
XML processing with perl
XML processing with perlXML processing with perl
XML processing with perl
 
Introduction To Xml
Introduction To XmlIntroduction To Xml
Introduction To Xml
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Intro Html
Intro HtmlIntro Html
Intro Html
 

Recently uploaded

Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 

Recently uploaded (20)

Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 

Quick Referance to WML

  • 1.  
  • 2.
  • 3.
  • 4. WAP CLIENT APPLICATION SERVER WML File Request WML File Received WML Script File Request WML Script File Received WML File Request received WML File Sent WML Script File Req received WML Script File sent Through the Gateway Through the Gateway Through the Gateway Through the Gateway WML Script WML script is a lightweight procedural scripting language, which is based on ECMAScript, the standardized version of JavaScript
  • 5.
  • 6. <?xml version=&quot;1.0&quot;?> <!DOCTYPE wml PUBLIC &quot;-//WAPFORUM//DTD WML 1.1//EN&quot; &quot;http://www.wapforum.org/DTD/wml_1.1.xml&quot;> First Example : <wml> <card id=&quot;First_Card&quot;> <do type=&quot;accept&quot; label=&quot;Next&quot;> <go href=&quot;#Second_Card&quot;/> </do> <p> Select <b>Next</b> to display the next card. </p> </card> <card id=&quot;Second_Card&quot;> <p> This card contains the following:... </p> </card> </wml> The first two lines define the document prologue that identifies the XML subset. The Next line defines the header of the WML deck. This line of the deck specifies the header of the first card. This line defines an action, which specifies what the user agent should do when the user presses a specified function key. This line specifies the action related to the specified key. Next Back
  • 7.
  • 8. In the following example, the onenterbackward event causes the user agent to navigate to card2 when the user enters this card using a prev task or navigating backwards in the history stack. This means that card2 is displayed to the user instead of card1. Note that if the user navigates forward to this card by using the go task, for example, card1 is displayed. <card id=&quot;card1&quot;> <onevent type=&quot;onenterbackward&quot;> <go href=&quot;#card2&quot;/> </onevent> <p> Hello World! </p> </card> <card id=&quot;card2&quot;> <p> You came back!</p> </card> The following example posts three name values to the web server, letting you send data back from the client . HTTP POST method is used to send the data. <go method=&quot;post&quot; href=&quot;http://hostname/servlet/bank&quot;> <postfield name=&quot;money&quot; value=&quot;100&quot;/> <postfield name=&quot;account&quot; value=&quot;12345&quot;/> <postfield name=&quot;operation&quot; value=&quot;deposit&quot;/> </go>
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.

Editor's Notes

  1. The anchor element specifies the head of a link.