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