Transform XML - output file by extension
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. The Transform_XML_service has the default for outputExt set to 'out' so the transformed XML document is also written to the file whose path is the same as that of the inFileURL but with '.out' as the extension.
To check the content of the output file, its file path is calculated by calls of Filter_list_of_strings_extracting_match_to_a_regex and Concatenate_two_strings. The file path is passed to the Read_Text_File service. Once the Transform_XML service has finished, the Read_Text_File service reads the output file and echoes its content to the contents_of_output_file port of the workflow.
Preview
Run
Run this Workflow in the Taverna Workbench...
Option 1:
Copy and paste this link into File > 'Open workflow location...'
http://myexperiment.org/workflows/482/download?version=1
[ More Info ]
Workflow Components
Reviews (0)
Other workflows that use similar services (0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment