blob: ef86fc1013662d371bc02ec09eab764126d985d4 [file] [log] [blame]
<?xml version="1.0"?>
<s1 title="About Xalan Applets">
<s2 title="Transforming XML to HTML in an Applet">
<ol>
<li>
<p>Include
org.apache.xalan.xslt.client.XSLTProcessorApplet
in an HTML client.</p>
</li>
<li>
<p>Specify the XML source document and XSL
stylesheet.</p>
<p>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.</p>
</li>
<li>
<p>Call the getHtmlText() method, which performs
the transformation and returns the new document as a
String.</p>
</li>
</ol>
</s2>
</s1>