r2 - 23 Nov 2007 - 12:23:33 - StianSoilandYou are here: myGrid wiki >  Mygrid Web  > TavernaWorkbench > TavernaFaq > FaqXslt

How can I transform XML using the XSLT?

XSLT is a powerful tool for transforming one XML document into another. A typical example is to rewrite an XML returned from a database to a human-browsable (X)HTML representation.

Taverna comes with an XSLT processor, located under Local Services -> Local Java widgets -> xml -> Transform XML. However in its current version, this processor can unfortunately be a bit awkward to use. You need to specify every input to the processor as a filename (not an URL, although the ports are named "xslFileURL" etc), not as values. We have noted it as a bug that the processor should also allow inputs from the workflow: TAV-483

The output can be retrieved both as a real value for your workflow and/or stored in a file.

You should try manually with an command line XSLT tool (like xsltproc) or similar before using it from Taverna, as XSLT might be a difficult language t first. One recommendation is to try to find an XSLT stylesheet that does almost what you want already, and then modify it to your needs.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by myGrid wiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding myGrid wiki? Send feedback