JAXP Transformation Examples
This section applies to the Java platform only.
Saxon supports the Java JAXP Transformation API (package javax.xml.transform), originally known as TrAX, for invoking the XSLT stylesheet processor. This API is useful when you want to write your own Java applications that invoke Saxon XSLT transformations.
A sample program that illustrates many features of the JAXP Transformation interface
(including Saxon-specific extensions) is included in the distribution as
JAXPExamples.java. Source XML and XSLT files for use with this
program are included in the
To run the program, use the command:
You can supply an argument to indicate which of the examples you want to run; see the source code for details. By default, they are all executed in turn.