Package org.apache.xalan.xslt

The main Xalan-Java 1 compatability package -- facilities for setting up and performing XSL transformations.

See:
          Description

Interface Summary
XSLTProcessor The transformation processor -- use XSLTProcessorFactory to instantiate an implementation of this interface.
 

Class Summary
StylesheetHandler Initializes and processes a stylesheet via SAX events.
StylesheetRoot Binary representation of a stylesheet -- use the XSLTProcessor ProcessStylesheet method to create a StylesheetRoot and improve performance for a stylesheet performing multiple transformations.
StylesheetSpec This class implements the representation of a stylesheet specification via xml-stylesheet in an XML document.
XSLProcessorContext Captures processor context to be passed to an extension element.
XSLTEngineImpl The Xalan workhorse -- Collaborates with the XML parser liaison, the DOM, and the XPath engine, to transform a source tree of nodes into a result tree according to instructions and templates specified by a stylesheet tree.
XSLTInputSource Represents an XML source document or XSL stylesheet.
XSLTProcessorFactory Manufactures the processor for performing transformations.
XSLTResultTarget Contains the result of a transformation that you perform with the XSLTProcessor process() method or one of the StylesheetRoot process() methods.
 

Package org.apache.xalan.xslt Description

The main Xalan-Java 1 compatability package -- facilities for setting up and performing XSL transformations.

Use one of the XSLTProcessorFactory static getProcessor methods to instantiate an XSLTProcessor. The XSLTProcessor interface defines the XSLT processor API. You should never need to call the underlying implementation (XSLTEngineImpl) directly.

Instantiate XSLTInputSource objects for the XML input and the XSL stylesheet, and an XSLTResultTarget object for the transformation output. You may construct these objects with a variety of containers/formats, including files or URLs, character streams,byte streams, SAX input streams or document handlers, and a DOM tree.

As a general rule, use the XSLTProcessor process method to perform a transformation, thereby filling the XSLTResultTarget object. For repeated transformations, to gather information from the stylesheet before you perform the transformation, or to set up the processor to function as a SAX document handler, use the XSLTProcessor processStylesheet method to compile the XSL stylesheet, which returns a StylesheetRoot object with its own process method.



Copyright © 2000 Apache XML Project. All Rights Reserved.