"How To" Guides for XML

How to repurpose mobile content for traditional web browsers

When content needs to be delivered to both traditional web browsers and smaller mobile devices, one technique for producing content for both channels from the same source is to code the content for one channel and repurpose it for the other channel. In most cases, the content for traditional web browsers already exists, so the tendency is to try to repurpose that content for smaller devices.

However, it's much easier to design the content for the smaller portable devices and use XSL templates to repurpose the content for larger displays by wrapping it with additional markup code.

This technique is particularly useful for sites using a ".mobi" domain name managed by the dotMobi registry, since the registry requires sites to be designed for mobile devices. For an example see the Sample .mobi site

Next: sample.xml 

Home > Internet > Web > Web Design > Markup Languages > XML > XSL Templates > XSL Templates

Viewing mobile website page. Switch to WML or Full HTML