Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

XML Stylesheet Language for Transformations

The XML Stylesheet Language for Transformations (XSLT) defines mechanisms for addressing XML data (XPath) and for specifying transformations on the data, in order to convert it into other forms. JAXP includes an interpreting implementation of XSLT, called Xalan.

In this chapter, you'll learn how to use Xalan. You'll write out a Document Object Model (DOM) as an XML file, and you'll see how to generate a DOM from an arbitrary data file in order to convert it to XML. Finally, you'll convert XML data into a different form, unlocking the mysteries of the XPath addressing mechanism along the way.


Note: The examples in this chapter can be found in <INSTALL>/jwstutorial13/examples/jaxp/xslt/samples.


Divider
Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.