All you have to do is feed a parsed XML and XSLT document through what is called an XSLT engine. This takes care of interpreting the XSLT commands, applying them to the XML document, and outputting the transformed XML data. There's plenty of software out there that will do this. Lucky for us, Microsoft not only put an XML parser in IE, but also threw in an XSLT Engine. So you can format XML documents on the fly using stylesheets in Internet Explorer.
Lets take our candy.xml file for example.
All it contains is the basic data for the types of candy we want to sell. However, you can take that one file and transform it against multiple XSLT documents. This will not only create HTML files, but also produces plain text for printing, WML for wireless browsers, and different views of the same data. And, since all the controlling factors here are XML, it's easier to manage because you don't have to deal with 40 different programming languages and protocols. Let's get started.