You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@apache.org on 2002/05/02 19:29:05 UTC

cvs commit: xml-xalan/java/xdocs/sources/xsltc xsltc_native_api.xml

dleslie     02/05/02 10:29:05

  Modified:    java/xdocs/sources entities.ent
               java/xdocs/sources/xalan xsltc_constraints.xml
                        xsltc_usage.xml
               java/xdocs/sources/xsltc xsltc_native_api.xml
  Log:
  Adjusted placement of information about XSLTC samples and related links.
  
  Revision  Changes    Path
  1.52      +29 -1     xml-xalan/java/xdocs/sources/entities.ent
  
  Index: entities.ent
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/entities.ent,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- entities.ent	19 Feb 2002 21:23:22 -0000	1.51
  +++ entities.ent	2 May 2002 17:29:05 -0000	1.52
  @@ -40,8 +40,8 @@
                    <ul>
                    <li><link anchor="xsltc1">JAXPTransletOneTransformation</link></li>
                    <li><link anchor="xsltc2">JAXPTransletMultipleTransformations</link></li>
  +                 <li><link anchor="xsltcother">Other XSLTC samples</link></li>   
                    </ul>
  -                 <p>See also: <link idref="readme" anchor="xsltcdemos">XSLTC demos</link>.</p><anchor name="xsltc1"/>
                    <p>You can use the TrAX/JAXP 1.1 interfaces to compile and run translets. For this release, you must still
                    use StreamSource objects for the XSL stylesheet and XML input document, and a StreamResult object for the 
                    transformation output. For an overview of the usage patterns these samples illustrate, see 
  @@ -75,6 +75,34 @@
                    from the translets subdirectory with</p>
                    <p><code>java JAXPTransletOneTransformation</code></p>
                    <p>View the results in todo-xsltc.html and todo-xalan.html.</p>                
  +                 </s3><anchor name="xsltcother"/>
  +                 <s3 title="Other XSLTC samples">
  +                 <p>Other XSLTC samples are located in the following samples subdirectories:</p>
  +                 <ul>
  +                 <li>CompiledServlet</li>
  +                 <li>CompiledBrazil</li>
  +                 <li>CompiledJAXP</li>                                  
  +                 <li>CompiledApplet</li>
  +                 <li>CompiledEJB</li>
  +                 </ul>
  +                 <p>For information about each of these samples, consult the README file in the subdirectory.</p>
  +                 <note>The following paragraphs supply some basic background information for CompiledServlet and CompiledBrazil.</note>
  +                 <p>XSLTC provides demos for using XSLTC as a servlet and as a handler for 
  +                 Brazil (a new and powerful Web techology from Sun labs). To run these demos,
  +                 download Brazil from sunlabs:</p>
  +                 <p><code>&nbsp;&nbsp;&nbsp;&nbsp;<jump href="http://research.sun.com/research/download/index.html">http://research.sun.com/research/download/index.html</jump></code></p>
  +                 <p>and the java extensions for servlets from Sun:</p>
  +                 <p><code>&nbsp;&nbsp;&nbsp;&nbsp;
  +                 <jump href="http://java.sun.com/products/servlet/download.html">
  +                 http://java.sun.com/products/servlet/download.html</jump></code></p>
  +                 <p>The translet must be specified as a pure class name, accessible
  +                 through the Brazil handler classpath. For example:</p>
  +                 <p><code>&nbsp;&nbsp;&nbsp;&nbsp;translet=mk054</code></p>
  +                 <p>The document must be specified as a valid URL. For example:</p>
  +                 <p><code>&nbsp;&nbsp;&nbsp;&nbsp;document=http://server/path/to/filename.xml</code></p>
  +                 <p>If the file is local to the Brazil handler, it has to be
  +                specified using the "file:filename.xml" format.</p>
  +                <note>You also need to make the Brazil and javax classes available from your classpath</note>
                    </s3>
                    </s2>'>
                   
  
  
  
  1.31      +1 -21     xml-xalan/java/xdocs/sources/xalan/xsltc_constraints.xml
  
  Index: xsltc_constraints.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_constraints.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- xsltc_constraints.xml	20 Feb 2002 14:25:39 -0000	1.30
  +++ xsltc_constraints.xml	2 May 2002 17:29:05 -0000	1.31
  @@ -12,7 +12,7 @@
     <li><link anchor="xsltcconf">Conformance</link></li>
     <li><link anchor="xsltcknownproblems">Known Problems</link></li>
     <li><link anchor="xsltcsmart">Smart Transformer Switch</link></li>
  -  <li><link anchor="xsltcdemos">Running Demos</link></li>  
  +  <li><link idref="samples" anchor="translets">Sample Translets</link></li>  
     <li><link idref="xsltc_history">History of XSLTC software changes</link></li>
   </ul>
   <anchor name="xsltcnew"/>
  @@ -100,25 +100,5 @@
   For one-time transformations or transformations that require extensions supported by Xalan, and not XSLTC,
   you would use Transformer objects. For a repeated transformation where performance is critical, you would 
   use Templates objects.</p> 
  -</s2>
  -<s2 title="Running Demos">
  -<p>XSLTC provides demos for using XSLTC as a servlet and as a handler for 
  -Brazil (a new and powerful Web techology from Sun labs). To run these demos,
  -download Brazil from sunlabs:</p>
  -<p><code>&nbsp;&nbsp;&nbsp;&nbsp;<jump href="http://research.sun.com/research/download/index.html">http://research.sun.com/research/download/index.html</jump></code></p>
  -<p>and the java extensions for servlets from Sun:</p>
  -<p><code>&nbsp;&nbsp;&nbsp;&nbsp;
  -<jump href="http://java.sun.com/products/servlet/download.html">
  -http://java.sun.com/products/servlet/download.html</jump>
  -</code></p>
  -<p>The translet must be specified as a pure class name, accessible
  -through the Brazil handler's classpath. For example:</p>
  -<p><code>&nbsp;&nbsp;&nbsp;&nbsp;translet=mk054</code></p>
  -<p>The document must be specified as a valid URL. For example:</p>
  -<p><code>&nbsp;&nbsp;&nbsp;&nbsp;document=http://server/path/to/filename.xml</code></p>
  -<p>If the file is local to the Brazil handler, it has to be
  -specified using the "file:filename.xml" format.</p>
  -<note>You also need to make the Brazil and javax classes available from your classpath</note>
  -<p>See also: <link idref="samples" anchor="translets">sample JAXP translets</link>.</p>
   </s2>
   </s1>
  
  
  
  1.26      +2 -1      xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml
  
  Index: xsltc_usage.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- xsltc_usage.xml	27 Feb 2002 16:32:38 -0000	1.25
  +++ xsltc_usage.xml	2 May 2002 17:29:05 -0000	1.26
  @@ -65,7 +65,8 @@
     <li><link anchor="run">Running translets from the command line</link></li>
     <li><link anchor="api">Calling XSLTC with the TrAX/JAXP API</link></li>
     <li><link anchor="native_api">Calling XSLTC with the native API</link></li>
  -  <li><link anchor="constraints">XSLTC usage constraints</link></li>  
  +  <li><link idref="samples" anchor="translets">Sample translets</link></li>
  +  <li><link idref="xsltc_constraints">XSLTC release notes</link></li>  
   </ul>
   <p>See also: <jump href="xsltc/index.html">XSLTC Design</jump></p>
   <anchor name="intro"/>
  
  
  
  1.5       +8 -6      xml-xalan/java/xdocs/sources/xsltc/xsltc_native_api.xml
  
  Index: xsltc_native_api.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xsltc/xsltc_native_api.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- xsltc_native_api.xml	14 Jan 2002 15:35:14 -0000	1.4
  +++ xsltc_native_api.xml	2 May 2002 17:29:05 -0000	1.5
  @@ -200,12 +200,14 @@
   
       <ul>
         <li><code>org.apache.xalan.xsltc.cmdline.Transform</code></li>
  -      <li><code>$XML-XALAN/java/samples/CompiledApplet/TransformApplet</code></li>
  -      <li><code>$XML-XALAN/java/samples/CompiledApplet/TransformApplet</code></li>
  -      <li><code>$XML-XALAN/java/samples/CompiledServlet/TransformServlet</code></li>
  -      <li><code>$XML-XALAN/java/samples/CompiledBrazil/TransformHandler</code></li>
  -      <li><code>$XML-XALAN/java/samples/CompiledEJB/Transform</code></li>
  -
  +      <li><code>xml-xalan/java/samples/CompiledApplet/TransformApplet.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledBrazil/TransformHandler.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledEJB/TransformBean.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledEJB/TransformHome.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledEJB/TransformRemote.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledEJB/TransformServlet.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledServlet/CompileServlet.java</code></li>
  +      <li><code>xml-xalan/java/samples/CompiledServlet/TransformServlet.java</code></li>
       </ul>
   
       <s3 title="Transformation input handling">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org