Making a Transformation Happen
You can transform documents in three ways:
On the server— A server program, such as a Java servlet or a JavaServer Page (JSP), can use a stylesheet to transform a document automatically and serve it to the client. One such example is the XML Enabler, which is a servlet you'll find at the XML For Java Web site, www.alphaworks.ibm.com/tech/xml4j.
On the client— A client program, such as a browser, can perform the transformation, reading in the stylesheet that you specify with the <?xml-stylesheet?> processing instruction. Internet Explorer can handle transformations this way, to some extent.
With a separate program —Several standalone programs, usually based on Java, will perform XSLT transformations. I'll take a look ...