QA


Q&A

Q.

Why bother with WML if XHTML Mobile is the wave of the future?

A.

There is certainly an argument that you shouldn't bother with WML given that XHTML Mobile is likely the future of the wireless web. However, given that so many devices support WML, it's hard to move beyond it just yet. Besides, the deck of cards metaphor can be handy in that it allows you to create the effect of multiple "pages" within a single WML document. If carefully controlling the formatting of mobile pages is important to you, by all means go with XHTML Mobile. Otherwise, WML isn't a bad option due to its widespread support.

Q.

How do I convert a normal XHTML document to XHTML Mobile?

A.

Because the syntax is identical between the two languages, the main trick is to eliminate features that aren't supported in XHTML Mobile, such as frames. Beyond that, your main challenge is in scaling down any images and simplifying styles so that pages look good on a small display that has potentially fewer colors to work with.




Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
ISBN: 067232797X
EAN: 2147483647
Year: 2005
Pages: 266

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net