|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
org.apache.xalan.xpath | Infrastructure for processing XPATH expressions |
org.apache.xalan.xpath.xml | Infrastructure for working with an XML parser. |
org.apache.xalan.xslt | The main Xalan-Java 1 compatability package -- facilities for setting up and performing XSL transformations. |
This compatibility API supports limited use of the Xalan-Java 1 API in the Xalan-Java 2 environment. For the Xalan-Java 2 API, see Xalan-Java 2 API.
Basic procedure for performing transformations:
XSLTProcessorFactory
static getProcessor methods to
instantiate an XSLTProcessor
.XMLParserLiaison
.XSLTInputSource
objects for the XML input and XSL stylesheet.
You can use a file name or URL, character stream, byte stream, or SAX input stream to instantiate an
XSLTInputSource object.StylesheetRoot
object with its own process() method for performing transformations.
Compiling the stylesheet is also useful when you need to get information from the
stylesheet before the transformation occurs. You also must compile the stylesheet if you are using the
XSLTProcessor as a SAX document handler.XSLTResultTarget
for the transformation output. You can use a
file name or URL, character stream, byte stream, or SAX document handler to instantiate an XSLTResultTarget
object.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |