zongaro 2003/02/04 10:32:51
Modified: java/xdocs/sources/xalan Tag: XSLTC_DTM xsltc_usage.xml
Log:
Added information about "use-classpath" attribute and removed a usage
constraint
that no longer applies on this branch.
Revision Changes Path
No revision
No revision
1.31.2.3 +10 -8 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.31.2.2
retrieving revision 1.31.2.3
diff -u -r1.31.2.2 -r1.31.2.3
--- xsltc_usage.xml 28 Jan 2003 21:40:01 -0000 1.31.2.2
+++ xsltc_usage.xml 4 Feb 2003 18:32:51 -0000 1.31.2.3
@@ -115,6 +115,7 @@
<s3 title="Unbundled System Classpath">
<note>Support for building an unbundled version of XSLTC is not currently
+available. This section will be brought up-to-date when that support is
available.</note>
<p>To compile translets, run translets, and use the XSLTC API, put the
following on the system classpath:</p>
<table>
@@ -422,8 +423,8 @@
as many <code>Transformer</code> objects as you require.</p>
<p>XSLTC also defines a set of attributes that you can set on the
-<code>TransformerFactory</code> to save and subsequently use those translets
-by way of the JAXP Transform API - without having to recompile the
+<code>TransformerFactory</code> in order to save and subsequently use those
+translets by way of the JAXP Transform API - without having to recompile the
stylesheet each time.</p><anchor name="api-attributes"/>
<s3 title="XSLTC TransformerFactory attributes">
The JAXP Transform API defines a <code><jump
href="apidocs/javax/xml/transform/TransformerFactory.html#setAttribute(java.lang.String,
java.lang.Object)">TransformerFactory.setAttribute</jump>
@@ -459,7 +460,7 @@
</tr>
<tr>
<td>generate-translet</td>
- <td>Specifies whether translet files should be generated</td>
+ <td>Specifies whether translet class files should be generated</td>
<td>Boolean</td>
<td>Boolean.FALSE</td>
</tr>
@@ -470,6 +471,12 @@
<td>Boolean.FALSE</td>
</tr>
<tr>
+ <td>use-classpath</td>
+ <td>Specifies that precompiled translet classes should be looked up from
the classpath when a new transformer or templates is created</td>
+ <td>Boolean</td>
+ <td>Boolean.FALSE</td>
+</tr>
+<tr>
<td>enable-inlining</td>
<td>Specifies whether methods that represent templates should be inlined.
See <link anchor="constraints">Usage constraints</link></td>
<td>Boolean</td>
@@ -581,15 +588,10 @@
<s2 title="Calling XSLTC with the native API">
<p>The XSLTC Native API is no longer supported. Instead, you should always
use XSLTC with the JAXP Transform API.</p>
-<p>This section demonstrates how to use the native XSLTC API in a standalone
Java application.</p>
</s2>
<anchor name="constraints"/>
<s2 title="Usage constraints">
<ul>
- <li>The strip space element does not work with copy-of. For example, with
<code><xsl:strip-space
- elements="*"/></code>, if you do an identity transform by
matching on
- the root node (/) and then do a <code>copy-of
select="."</code>, the whitespace-only
- nodes are not stripped out. <code>xsl:strip-space</code> works when you
do not do a copy-of.<br/><br/></li>
<li>The default for template inlining has been changed. Previously,
by default, inlining (putting all the templates into one big method) was
on and
the <code>"-n"</code> option to the compile command line
disabled inlining.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]