Home
TOC Index |
The XML Stylesheet Language for Transformation (XSLT) APIs
Figure 5-3 shows the XSLT APIs in action.
A
TransformerFactory
object is instantiated, and used to create aTransformer
. The source object is the input to the transformation process. A source object can be created from SAX reader, from a DOM, or from an input stream.Similarly, the result object is the result of the transformation process. That object can be a SAX event handler, a DOM, or an output stream.
When the transformer is created, it may be created from a set of transformation instructions, in which case the specified transformations are carried out. If it is created without any specific instructions, then the transformer object simply copies the source to the result.
The XSLT Packages
The XSLT APIs are defined in the following packages:
Home
TOC Index |
This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.
All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.