dleslie 01/05/17 07:40:39
Modified: java/xdocs/sources entities.ent
Log:
Preliminary info on translet JAXP samples.
Revision Changes Path
1.17 +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.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- entities.ent 2001/05/15 16:28:55 1.16
+++ entities.ent 2001/05/17 14:40:31 1.17
@@ -33,5 +33,33 @@
utilities. You can already use the same JAXP interfaces to
perform
transformations with the Xalan transformer and with
translets. Over time, we plan to merge the two codebases.
<ref>See <jump href="xsltc/index.html">XSLTC Design
Documents</jump>.</ref></p>'>
-
+
+<!ENTITY xsltcsampleshead '<li><link
anchor="translets">translets</link></li>'>
+
+<!ENTITY xsltcsamples '<anchor name="translets"/><s2 title="Translets">
+ <ul>
+ <li><link
anchor="xsltc1">JAXPTransletOneTransformation</link></li>
+ <li><link
anchor="xsltc2">JAXPTransletMultipleTransformations</link></li>
+ </ul><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
+ <link idref="xsltc_usage" anchor="api">Calling XSLTC with
the TrAX/JAXP API</link>.</p>
+ <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><code>java JAXPTransletOneTransformation</code></p>
+ <p>and 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><code>java JAXPTransletOneTransformation</code></p>
+ <p>and 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]