The get_xml_file_from_web service downloads an example xml from myExperiment. The content of that file is then saved to a temporary file by create_and_populate_xml_file. The path to the temporary file is passed to the inFileURL port of Transform_XML.
The get_xslt_file_from_web service downloads an example xslt file from myExperiment. The content of that file is then saved to a temporary file by create_and_populate_xslt_file. The path to the temporary file is passed to the xslFileURL port of Transform_XML.
The Transform_XML service transforms the XML using the specified XSLT and sends the resultant XML document to its outputStr port and so to the workflow's out port.
net.sourceforge.taverna.scuflworkers.xml.XSLTWorker
File f = File.createTempFile("taverna", ".xml");
BufferedWriter writer = new BufferedWriter(new FileWriter(f));
writer.write(content);
writer.close();
filePath = f.getCanonicalPath();
content
filePath
File f = File.createTempFile("taverna", ".xslt");
BufferedWriter writer = new BufferedWriter(new FileWriter(f));
writer.write(content);
writer.close();
filePath = f.getCanonicalPath();
content
filePath
http://www.myexperiment.org/blobs/137/download/test.xml?version=1
org.embl.ebi.escience.scuflworkers.java.WebPageFetcher
http://www.myexperiment.org/blobs/138/download/test.xslt?version=1
org.embl.ebi.escience.scuflworkers.java.WebPageFetcher