The XSLT Transformation Procedure

The example in this section uses the Xalan XSLT processor in order to provide continuity and support for implementations based on Xalan.

If you are using a different XSLT processor, you will need to adapt this example to meet your needs. The basic procedure should be the same.

The steps to create an XSLT transformation stream are

1.  Creating the transformation objects and the input and output streams

Defining the transformation object

Defining a character transformation input and output stream

Defining an XSLT input and output stream using the transformation object and the character transformation streams

2.  Performing the transformation

Serializing the book object to a file

Restoring the book object

These examples do not include all of the functions for this class. The full definition of the class can be found in buildspace\examples\xmlstreams\xsltTransform\RWXsltObjectInputStreamImp.h.