Transform XML - output file by extension

Created: 2008-09-27 17:36:43

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.

Information Preview

Information 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 InfoExpand ]


Information Workflow Components

Inputs (0)
Processors (8)
Beanshells (2)
Outputs (2)
Links (9)
Coordinations (1)

Information Workflow Type

Taverna 1

Information Uploader

Information License

All versions of this Workflow are licensed under:

Information Version 1 (of 1)

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (3)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (1)

Log in to add to one of your Packs

Information Attributed By (0)

(Workflows/Files)

None

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.