Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
At risk of going over familiar territory, I would like to start
this paper by establishing a common background. Here are some facts
that I'm assuming you know:
Ø XHTML is an XML
application. So is WML (and the many other MLs!)
Ø The Web is going to use
XHTML and other XML applications. New "HTML" pages should use
XHTML
Ø XML is also being used
increasingly for data storage and data interchange
Ø The simplified, overall
picture of a web application looks like this:
It is a Good Thing to commit to a specific presentation language
(WML, XHTML) as late as possible - that is, within the XML
transformation layer. This presentation is about how to use JSPs in
the transformation layer, and how to structure the overall
framework so that only the transformation layer need be changed to
retarget your application from desktop browser to WAP-enabled
phone, to whatever other device/application. Among other things,
this design will keep most of your software investment insulated
from future changes to WML and WAP, and from device-type
proliferation.
JSP is not the only technology that can be used in the XML
transformation layer. In addition to direct competitors like ASP
and ColdFusion, there is a language called XSLT (eXtensible
Stylesheet Language: Transformations) that's specifically designed
for transforming one XML document into another. It will be
interesting to watch how the two technologies share this space, and
we'll look at an alternative XSLT version of our example in this
paper too.