GeekArticles
XML
WMLCreating A WML Deck
Author: wirelessdevnet.com |
Published: 10th Aug 2005 |
Visited: 523 times |
Add CommentFiled in: WMLIn this example, we ll start by creating a WML deck that allows us to first select a username from a list, enter in a password, then have our selections repeated back to us. This will illustrate the basic handling of user input, events, and variables all within one deck using multiple cards. Listing 1 - WMLExample.wml <?xml version='1.0'?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="Login" title="Login"> <do...n
Read Article Sponsored Links
Related Articles
• Creating XML with the DOM PHP Extension Creating XML with the DOM PHP Extension
In fact, the PHP DOM extension is a set of classes that can be used to generate, access, and manipulate XML data. The DOM.php script defined in the following listing shows how to generate an XML document based on the result set retrieved from the database.
Vi ...