|
XHTML Mobile Profile (XHTML MP) is a hypertextual computer language standard designed specifically for mobile phones and other resource-constrained devices. It is an XHTML document type defined by the Open Mobile Alliance. XHTML-MP is derived from XHTML 1.1 Basic Profile by adding XHTML Modules, with later versions of the standard adding more modules. However, for certain modules, XHTML-MP does not mandate a complete implementation so a XHTML-MP browser may not be fully conforming on all modules. The XHTML MP 1.1 DTD is currently in the process of being finalized and is expected to be released around June 2006. Work on the 1.2 DTD continues but a release date is not yet known.
DOCTYPE To validate as XHTML Mobile 1.0, a document must contain the following Document Type Declaration, or DOCTYPE:
Development pitfalls Many problems arise when content written in XHTML is shown on different devices. Some will honor colors specified in CSS while some will not, some will render tables properly while others won't, just to mention some examples. Building an adaptative application means delivering different content to different devices, according to their capabilities. This can bring huge complexity, given the number of different devices in the market with different hardware (screen-sizes, coloring capacity, buttons, memory and speed) and browsers. Many software initiatives present their solution to this problem. Most of them provide a proprietary language to write WAP content, which will render different content (XHTML-MP, WML, CHTML, etc) according to the requesting device. One free initiative is WURFL, which basically uses a hierarchical XML configuration file to map the device's capabilities. | ||||||||
|
| |||||||||
![]() |
|
| |