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.
-
Get the TransformerFactory instance.
Get the TransformerFactory instance using the newInstance method.
-
Create a Transformer object.
-
Transform into HTML data.
Transform the XML document into HTML data by using the Transformer object.