4.2.1. Static web pages

Table of contents

4.2.1.1. Using XSLT for static web pages
4.2.1.2. Support for different browser types
4.2.1.3. Web editors for "mobile aware" web pages
4.2.1.4. A single XML document for the whole web site

A static web page is a file stored in a file system. The content of the file does not change from request to request. It does not depend on the browser that has sent the HTTP request to the server. Even if the server uses content negotiation (see Chapter "Content selection by automatic content negotiation") the file itself doesn't change.

The traditional way to create static web pages is to use HTML 'What You See Is What You Get' (WYSIWYG) editors. However, a new technique can be applied to be more flexible. You can achieve flexibility in terms of:

This new technique is based on Extensible Markup Language (XML) and XSL Transformations (XSLT) even if it is not really new. The XML 1.0 recommendation has been published in February 1998, the XSLT 1.0 recommendation in November 1999. Several XSLT processors are available for free like Saxon, Xalan, xt and many more for a lot of operating systems (see Appendix XSLT processors). Therefore, it's time to have a closer look on this technique and how you can use it for web publishing.

After this, we focus in the next section on creating different versions of web pages using different DTD and which requirements your web host needs to fulfill. The following sections introduce an HTML to XHTML conversion utility and the special case Microsoft's Internet Explorer for Pocket PC.

Copyright © 2001-2003 by Rainer Hillebrand and Thomas Wierlemann