Using XML and XSLT to Personalize a Web Site Part 2: XSL Transformation Stylesheet BasicsCreating XHTML from XML
Figure 8 Changing the style sheet can change the layout of a page...
Figure 9 ...or the look and feel.
XSL style sheets allow you complete control over the layout of the page, allowing you to process one or more templates to create the HTML on the page. These style sheets can also be applied to multiple XML files to allow for a common look and feel over the entire site.
In the next installment, we'll talk about processing XSL on the server and returning it to the client as straight HTML. This will give us two advantages: browser independence, and the ability to allow the user to choose which style sheet they want to use. We'll look at those choices and how to implement them.