XSLT Transformation Action Plug-in
Version
0.0.3
Overview
This action plug-in is used to execute an XSLT transformation on XML content.
Description
Saved Parameters Description
- Name: The name used to identify a saved XsltTransformation configured instance.
- Comments: Some comments about this saved XsltTransformation configured instance.
- XML body: The XML code to be transformed can be inserted here, with support for dynamic attributes. In most case however, this field will be left blank and the XML will be provided as a run-time input.
- XML file path: Same as above, but instead of inserting the XML, the file-path to a local XML file is provided. That file path also can be constructed with dynamic attributes. For example /data/<%=provider%>/<%=format%>_template.xml
- XSLT body: The XSLT code to be applied for the transformation can be insert here. Again dynamic attributes are supported.
- XSLT file path: Same as above, but instead of inserting the XSLT, the file-path to a local XSLT file is provided (optionally with dynamic attributes).
- Target file path: The full path to the generated file name. This is optional, as the generated file can instead be provided as an output (using the next option).
- Return file as output: When checked, this causes the action to provide the generated content as a text output. If this is check and a target file path was provided, both will be honored.
Inputs description
The list of inputs depends on the configuration of the XsltTransformation action template.
The list of inputs depends on the configuration of the XSLT Transformation action template. All specified dynamic attributes will be required inputs. Also if neither a file path nor a file body is provided for the XSLT and XML, then required inputs will be asked for them.
- XML_content_or_path: Required, only when both 'XML body' and 'XML file path' are lef blank in the configuration. Either a text with the XML content or a local path to the XML file to be used.
- XSLT_content_or_path: Required, only when both 'XSLT body and 'XSLT file path' are lef blank in the configurationEither a text with the XSLT transformatin code or a local path to the XSLT file to be used.
- Target file path: Optional and only provided if the equivalent configuration parameter is left blank
Outputs description
- Generated_file_path: If configured to save the generated file, provides the actual location where the generated file is stored.
- Generated_file_content: If configured to return content as an output, provides the generated text from the XSLT transformation of the XML input.
Supported Actions
None
Dependencies
None
Operating Instructions
This action executes the specified file transformation on some XML content based on a XSLT specification. XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents, or other objects such as HTML for web pages, plain text or into XSL Formatting Objects which can then be converted to PDF, PostScript and PNG.
XSLT is a standard, complex language, that can execute any calculation that can be performed by a modern computer program and is independant from Aspera and Aspera Orchestrator. For help on how to set-up and XSLT transformation template, please refer to external resource such as wikipedia.
© Copyright IBM Corp. 2011, 2015, Copyright (C) 1991, 1999 Free Software Foundation, Inc. (v2.3.0.108535-00001)