Hitachi

uCosminexus Application Server XML Processor User Guide


5.7.2 General Procedure for Creating the Sample Program

The following figure shows the general procedure for creating a sample program that uses the XSLT transformer.

Figure 5‒6: General procedure for creating a sample program that uses the XSLT transformer

[Figure]

  1. Get the TransformerFactory instance.

    Get the TransformerFactory instance using the newInstance method.

  2. Create a Transformer object.

  3. Transform into HTML data.

    Transform the XML document into HTML data by using the Transformer object.