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.