Transforming XML in an Appplet |
Include org.apache.xalan.xslt.client.XSLTProcessorApplet in an HTML client.
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.
Call the transformToHTML() method, which performs the transformation and returns the new document as a String.