XSL Transformation
Description
XSL Transformation applies an XSL stylesheet to XML data in the workflow stream, producing transformed XML or other text output. Use this step when you need to restructure, reformat, or convert XML data — for example, transforming an XML invoice into a different schema, converting XML to HTML for reporting, or extracting specific elements from a complex XML document. The XSL stylesheet can be specified as a file or read from an input field for dynamic transformations.
Configurations
| Field Name | Description |
|---|---|
| Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
| Setting Tab | |
| XML Field Name | Select a field from the drop-down list containing the input XML. |
| Result Fields: | |
| Result Fieldname | Specify an output field name to hold the result of execution. The default value is result. |
| XSL File: | |
| XSL source defined in a | Select the checkbox if XSL source must be extracted from a field in incoming stream. |
| XSL filename field | This field is enabled if the checkbox above is selected. Select a field from the drop-down list for the XSL source. |
| XSL field is a filename | This checkbox is enabled if the ‘XSL source defined in a’ checkbox above is selected. Select checkbox to consider the value of field as a filename. Otherwise the value of the field will be considered as stream. |
| XSL Filename | This field is enabled by default when the ‘XSL source defined in a’ checkbox is unselected. Specify the source XSL filename path or browse for it. |
| Button: Browse | Click to Browse for the source XSL filename. |
| XSLT Factory | Select from JAXP or SAXON. |
| Advanced Tab | |
| Output Properties: | Tabular list of Properties. |
| Property name | Select a Property name from the list: Method Version Encoding Standalone indent Method omit-xml-declaration doctype-public doctype-system media-type |
| Property value | Specify a property value. |
| Parameters: | Tabular list of parameters. |
| Stream Field | Select an input field from the stream. |
| Parameter name | Specify a parameter name. |
| Button: Get Fields | Click the button to populated input fields. |