dleslie 01/05/18 09:50:22
Modified: java/xdocs/sources entities.ent
Log:
Clariified setup for running xsltc samples.
Revision Changes Path
1.18 +18 -4 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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- entities.ent 2001/05/17 14:40:31 1.17
+++ entities.ent 2001/05/18 16:50:20 1.18
@@ -45,21 +45,35 @@
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
<link idref="xsltc_usage" anchor="api">Calling XSLTC with
the TrAX/JAXP API</link>.</p>
+ <anchor name="xsltcprepare"/>
+ <p><em>Important:</em> To run these samples, you must
compile the sample class files and adjust the
+ system classpath.</p>
+ <ol>
+ <li>To compile the samples, you can run the Ant build
from the root directory as follows:<br/><br/>
+ <code> build
xsltc.samples</code><br/><br/></li>
+ <li>Add xsltc.jar, runtime.jar, BCEL.jar, java_cup.jar,
and the samples/translets subdirectory to
+ the classpath</li>
+ </ol>
+ <note>The JAR files listed above are in the bin directory.
+ The samples/translets directory contains the sample class
files as well as the translet class file that is
+ generated at tun time (todo.class from the todo.xsl
stylesheet).</note>
<anchor name="xsltc1"/>
<s3 title="JAXPTransletOneTransformation">
<p>What it does: Uses the XSLTC TransformerFactory to
compile a translet and use
the translet to transform the XSLTC to-do list from XML
into HTML.</p>
- <p>Run this sample from the Translets subdirectory with</p>
+ <p>Complete the <link anchor="xsltcprepare">steps detailed
above</link>, and run this sample
+ from the translets subdirectory with</p>
<p><code>java JAXPTransletOneTransformation</code></p>
- <p>and view the result in todo-xsltc.html.</p>
+ <p>View the result in todo-xsltc.html.</p>
</s3><anchor name="xsltc2"/>
<s3 title="JAXPTransletMultipleTransformations">
<p>What it does: Uses the XSLTC TransformerFactory to
compile a translet and use
the Templates object associated with the translet to
transform the XSLTC and Xalan to-do lists from XML
into HTML.</p>
- <p>Run this sample from the Translets subdirectory with</p>
+ <p>Complete the <link anchor="xsltcprepare">steps detailed
above</link>, and run this sample
+ from the translets subdirectory with</p>
<p><code>java JAXPTransletOneTransformation</code></p>
- <p>and view the results in todo-xsltc.html and
todo-xalan.html.</p>
+ <p>View the results in todo-xsltc.html and
todo-xalan.html.</p>
</s3>
</s2>'>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]