Stylesheets can format the same page in several different styles. One view can be a fancy formatted HTML page. Another can be a plain printable page. A third might be a WAP view. Or you may have multiple styles for different sections in a site.

The XML source of this page has two different views: fancy and plain.

- Look at the fancy formatting
- Or look at the plain formatting

The dispatch servlet for *.xml files looks for a /plain extension. The servlet sets the caucho.xsl.stylesheet attribute and forwards the page to an *.xtp page.

- plain.xsl
- default.xsl (copy.xsl, header.xsl, content.xsl)