Examples from Chapter 23 of The XML Bible, 2nd Edition: The Wireless Markup Language
Listing 23-1: Hello WML
Listing 23-2: A WML document that specifies its MIME media type
Listing 23-3: Text Styles in WML
Listing 23-4: Paragraph attributes in WML
Listing 23-5: A stock quote table
Listing 23-6: A WML card that loads a WBMP image
Listing 23-7: Soft hyphens to help split text up
Listing 23-8: A WML deck with ten cards
Listing 23-9: A WML deck with ten 10 linked cards
Listing 23-10: A simple quiz using the a element to connect cards
Listing 23-11: A simple quiz using anchor elements to connect cards and decks
Listing 23-12: A simple quiz using a select group for question answers
Listing 23-13: An options menu for choosing a quiz language
Listing 23-14: An options menu for multiple cards based on a template
Listing 23-15: A timed quiz question
Listing 23-16: A deck that uses variablese
Listing 23-17: A deck that includes dollars signs in the parsed character data
Listing 23-18: Hello you
Listing 23-19: The select element sets the part_of_speech variable
Listing 23-20: A secure quiz
Copyright 1999, 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified at February 10, 2001