|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /usr/share/xalan-j2/samples/AppletXMLtoHTML/ |
Upload File : |
<?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>