dleslie 00/03/22 07:52:06
Modified: xdocs/sources/xalan samples.xml
Log:
2 corrections:
(1) made explicit that must use js.jar v1.4r3.
(2) Added file extensions to command line for first
extensions example
Revision Changes Path
1.16 +5 -5 xml-xalan/xdocs/sources/xalan/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-xalan/xdocs/sources/xalan/samples.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- samples.xml 2000/03/17 17:30:28 1.15
+++ samples.xml 2000/03/22 15:52:06 1.16
@@ -155,9 +155,9 @@
<p>The extensions subdirectory contains four samples with &xslt4j;
extensions. Two of the samples use
extensions implemented in JavaScript, and two of the samples use
extensions implemented in Java. All of
the samples are documented in <link
idref="extensions">Extensions</link>.</p>
- <p>To run these examples, you must place bsf.jar and bsfengines.jar
(distributed with &xslt4j;), and js.jar
- (available from <jump
href="http://www.mozilla.org/rhino">http://www.mozilla.org/rhino</jump>) on the
class path.
- You do not need js.jar on the class path for the samples that use Java
extensions. </p>
+ <p>To run these examples, you must place bsf.jar and bsfengines.jar
(distributed with &xslt4j;), and js.jar (version 1.4
+ release 3, available from <jump
href="http://www.mozilla.org/rhino">http://www.mozilla.org/rhino</jump>) on the
class path.
+ You do not need js.jar on the class path for the samples that use Java
extensions. </p>
<p>Use java.org.apache.xalan.xslt.Process, the &xslt4j; command-line
utility, to run these samples from
the <link idref="commandline">command line</link>. The command line
must include an -in flag with the
XML source and an -xsl flag with the XSL stylesheet. If you want the
output to be printed to a file, rather
@@ -165,8 +165,8 @@
<p>Run these samples from the extensions directory as follows (each of
the following is a single command
line):</p>
- <p><code>java org.apache.xalan.xslt.Process -in 1basicJscript</code>
- <br/> <code>-xsl 1basicJscript</code></p>
+ <p><code>java org.apache.xalan.xslt.Process -in
1basicJscript.xml</code>
+ <br/> <code>-xsl 1basicJscript.xsl</code></p>
<p><code>java org.apache.xalan.xslt.Process -in
2java-namespace.xml</code>
<br/> <code>-xsl 2java-namespace.xsl</code></p>
<p><code> java org.apache.xalan.xslt.Process -in
3numlistJava.xml</code>