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.
String url = "http://localhost:8080/tutorial/transformRowSet.xsl";
DeliverFromURL deliver = new DeliverFromURL( url );
SQLQuery query = new SQLQuery("select * from littleblackbook where id<=1000");
WebRowSet rowset = new WebRowSet( query.getOutput() );
XSLTransform transform = new XSLTransform();
transform.setXMLInput( rowset.getOutput() );
transform.setXSLTInput( deliver.getOutput() );
See OGSA-DAI/examples/src/uk/org/ogsadai/examples/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: Using Sessions |
? International Business Machines Corporation, 2002-2006 | ? The University of Edinburgh, 2002-2006 |