File: xalanApplets.xml

package info (click to toggle)
libxalan2-java 2.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 19,468 kB
  • ctags: 26,006
  • sloc: java: 175,784; xml: 28,073; sh: 164; jsp: 43; makefile: 43; sql: 6
file content (26 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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>