With the advent of WAP, more and more sites are being re-coded in WML to cater to WAP devices. While coding in WML is relatively easy,
it can be a daunting task if you need to maintain multiple sets of WML documents for different WAP devices since at the moment they all
have very different look-and-feel.
Ideally, we should have a single mark-up language that can be used to support all devices; be it the Web browser or a WAP device.
However, the state of affairs at the moment seems that this dream would still remain a dream for the next couple of years. Until
WAP 2.0 declares the standard markup language to be XHTML, developers have to devise mechanisms to tailor their site content for
the various devices in the market.
The Extensible Markup Language (XML), a technology that has been around for quite some time but has not gained wide acceptance until
recently, seems a perfect candidate for content encoding. So instead of coding your site in HTML and WML, you would just need to code
your site in XML. Depending on the types of devices that are accessing your site, you can then transform the XML documents into the
appropriate markup languages (HTML or WML) that can be understood by the devices.
In this article, we will look at how you can use the Extensible Markup Language Transformation (XSLT) and XPath to transform XML so that
you can tailor your content for different devices. I assume readers are familiar with HTML, WML and XML.
Next: Microsoft XML Parser technology