File: README.cjaxp

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 (24 lines) | stat: -rw-r--r-- 951 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
======================================================================
The XSLT Compiler (XSLTC) is a Java-based tool for compiling XSL
stylesheets into extremely lightweight and portable Java byte code.

This Compiled JAXP Demo shows you one way to compile and use compiled 
translets with JAXP.

Use the two classes provided, Compile and Transform, just like the 
org.apache.xalan.xsltc.cmdline Compile and Transform classes.

Compile.java
     Compiles an XSL stylesheet into a translet, which is written to
     a '.class' file.
     
Transform.java
     Constructs a TransformerFactory and asks it to load a translet
     in the form of a Transformer.  The translet performs the
     transformation on behalf of the Transformer.transform() method.

Usage
     java Compile <stylesheet.xsl>
     java Transform <xmlfile.xml> <stylesheet>
----------------------------------------------------------------------
END OF README