
As you might recall from my previous article, XML Overview, XML was designed to carry data. However, the majority of web applications are designed with the end user in mind. Therefore, information should be presented in a readable format. This is where XSL comes in: it takes the data from the XML trees and processes it to produce intelligible output. Of course, you can use Perl, Java, or PHP to work your way around transforming XML documents. However, as XML becomes more and more mainstream, you'll have to get a good grip of XSL and its functioning principles.
Fortunately, Dreamweaver 8 takes a visual approach to XSL transformations, helping you process XML-based data with no hand-coding at all. In order to understand how XML and XSL can be used together to process and display information, this article reviews XSL and some of its real-life applications. I will cover basic XSL syntax rules, give you some examples of how to use XSL to style your data, and explain the difference between a server-side and a client-side transformation.
To complete this tutorial you will need to install the following software and files:
You have read my previous article: XML Overview.
Marius Zaharia is the documentation manager at InterAKT Online, a developer of professional Dreameaver extensions for dynamic web development. When he's not writing articles and tutorials to guide web developers, he enjoys learning new things and exploring new technologies. His interests range from web development to politics and avantgarde electronic music.