XSL Transformation With Xalan - Still Hungry? (
Page 6 of 6 )
And that's about it from me. In this article,
I attempted to demonstrate the basics of the Xalan XSLT processor, offering a
broad overview of how it work by transforming XML documents into ASCII and HTML
formats. I showed you how to write simple command-line Java applications to perform
transformations, and then ported these examples over to the Web via JSP.
I've made a conscious attempt to stay away from the geekier aspects of the processor,
hoping to keep things as simple as possible. If, however, those geekier aspects
do interest you, consider visiting the following links
The official Xalan Web site, at
http://xml.apache.org/xalan-j/index.html
The official Xerces Web site, at
http://xml.apache.org/xerces-j/index.html
Xalan code samples, at
http://xml.apache.org/xalan-j/samples.html
The W3C's XSL and XSLT site, at
http://www.w3c.org/Style/XSL/
The goal here was to offer you a broad overview of how Xalan works, in order
to give you some insight into the processor's capabilities and lay the groundwork
for more advanced applications. Did I succeed? Write in and tell me.
Note: All examples in this article have been tested with JDK 1.3.0, Apache 1.3.11,
mod_jk 1.1.0, Xalan 2.3 and Tomcat 3.3. Melonfire offers no support or warranties
for the source code in this article. Examples are illustrative only, and are not
meant for a production environment. YMMV!