Transforming XML in an Appplet

1. Include org.apache.xalan.xslt.client.XSLTProcessorApplet in an HTML client.

2. Specify the XML source document and XSL stylesheet.

   You can use the DocumentURL and StyleURL PARAM tags or the setDocumentURL() and setStyleURL() methods. If the XML document contains a stylesheet Processing Instruction (PI), you do not need to specify an XSL stylesheet.

3. Call the transformToHTML() method, which performs the transformation and returns the new document as a String.