amiro       01/10/01 06:41:50

  Added:       java/samples/CompiledJAXP README.cjaxp
  Log:
  Added readme for this demo
  
  Revision  Changes    Path
  1.1                  xml-xalan/java/samples/CompiledJAXP/README.cjaxp
  
  Index: README.cjaxp
  ===================================================================
  ======================================================================
  The Sun 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 how can compile and use compiled 
  translets with JAXP.
  
  You 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, wraps the translet
       inside a Templates object and serializes it to a 
       '.translet' file.
       
  Transform.java
       Reads a Templates object from the .translet file, the Templates 
       object creates a translet and wraps it in a Transformer. The 
       translet performs the transformation on behalf of the 
       Transformer.transform() method.
  
  Usuage
       java Compile <stylesheet.xsl>
       java Transform <xmlfile.xml> <stylesheet>.translet
  ----------------------------------------------------------------------
  END OF README
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to