Updated: 20 May 2020
The Apply XSL transform action uses XSLT (Extensible Stylesheet Language Transformations) to transform any kind of XML into any other kind of XML.
To use the Apply XSL transform action, complete the following fields:
|Input||Choose the XML file you want to transform.|
|Output||Enter the name for the generated XML file.|
|Stylesheet||Choose the XSL or XZIP file that will handle the transform. You can choose either a single XSL file for less complicated transforms or multiple XSL files that are bundled together as an XZIP file for more complex transforms.|
|Parameters||Enter any parameters relevant to the transform. If you have multiple parameters, separate them with a newline (press Shift + Enter). For example, some Typefi customers use variable paths, such as image_path=/path/to/images, to locate image assets.|
|Pretty print output||Select the Pretty print output checkbox if you want the output to be pretty printed. Pretty print output is deselected by default, which means the XML will pass through exactly as it came in. If Pretty print output is selected, then the XML will be indented, and a whiteSpaceMode of
NOTE There is no default stylesheet for XSL transforms: you configure your stylesheet to match your requirements. Writing XSL transforms can be handled by Typefi's Professional Services team, by your in-house XML experts, or by a third party. For more information about XML transforms and stylesheets, please get in touch.