The xslTransform activity allows you to transform an XML document into a text document of any format. For example, you can transform the WebRowSet output from an SQL query into an HTML page to be viewed with a browser.
SQLQuery query = new SQLQuery("select * from littleblackbook where id<=1000");
XSLTransform transform = new XSLTransform(); transform.setXMLInput( query.getOutput() ); transform.setXSLTInput( xslt );
See examples/tutorials/clienttoolkit/XSLTransformExample.java and examples/tutorials/clienttoolkit/XSLTransformWithDelivery.java.
The gzipCompression activity compresses data from another activity producing the data in GZIPped form and also metadata about the compression. It has one input (data to be compressed) and two outputs (GZIPped data and metadata).
The zipArchive activity archives data from other activities producing a ZIP archive and also metadata about the compression. It has one or more inputs and two outputs.
Back: Obtaining Metadata | Up: Using the Client Toolkit | Next: Asynchronous Delivery |
© International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |