You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2003/04/07 20:04:13 UTC
cvs commit: xml-xalan/java/xdocs/sources/xalan commandline_xsltc.xml
mkwan 2003/04/07 11:04:13
Modified: java/xdocs/sources/xalan commandline_xsltc.xml
Log:
Docs update
Document the new "use-classpath" attribute
which is supported in the XSLTC TrAX API.
Revision Changes Path
1.6 +11 -0 xml-xalan/java/xdocs/sources/xalan/commandline_xsltc.xml
Index: commandline_xsltc.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/commandline_xsltc.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- commandline_xsltc.xml 2 Apr 2003 17:43:06 -0000 1.5
+++ commandline_xsltc.xml 7 Apr 2003 18:04:12 -0000 1.6
@@ -228,6 +228,11 @@
<td>false</td>
</tr>
<tr>
+ <td>use-classpath</td>
+ <td></td>
+ <td>false</td>
+ </tr>
+ <tr>
<td>enable-inlining</td>
<td>-XN</td>
<td>false</td>
@@ -248,6 +253,12 @@
implied when the <code>-XO</code> or <code>-XJ</code> option is used. The purpose is to make the command line
usage syntax a little bit simpler. Setting the <code>generate-attribute</code> attribute to true from TrAX is
equivalent to using the <code>-XO</code> option without the optional translet name from the Process command line.</p>
+
+<p>If the <code>use-classpath</code> attribute is set to <code>true</code>, the translet will be loaded
+from the <code>CLASSPATH</code>. This attribute is typically used in a case when the translets are packaged in a
+prebuilt jar file which is included in the <code>CLASSPATH</code>. You can set the <code>translet-name</code> attribute
+to indicate which translet to use. If this attribute is not set, the name of the translet is taken from
+the base name of the stylesheet. The <code>jar-name</code> attribute is not used in this situation.</p>
<p>The following example shows you how to do the same thing from TrAX for the question 2 in the FAQ.</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org