Skip to main content

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 NameDescription
Step nameSpecify 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 NameSelect a field from the drop-down list containing the input XML.
Result Fields:
Result FieldnameSpecify an output field name to hold the result of execution. The default value is result.
XSL File:
XSL source defined in aSelect the checkbox if XSL source must be extracted from a field in incoming stream.
XSL filename fieldThis 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 filenameThis 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 FilenameThis 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: BrowseClick to Browse for the source XSL filename.
XSLT FactorySelect from JAXP or SAXON.
Advanced Tab
Output Properties:Tabular list of Properties.
Property nameSelect a Property name from the list:

Method

Version

Encoding

Standalone

indent

Method

omit-xml-declaration

doctype-public

doctype-system

media-type

Property valueSpecify a property value.
Parameters:Tabular list of parameters.
Stream FieldSelect an input field from the stream.
Parameter nameSpecify a parameter name.
Button: Get FieldsClick the button to populated input fields.