User Guide : Designing and Executing Processes : Process Steps and Associated Components : XSLT Step
 
Share this page             
XSLT Step
The XSLT step allows you to specify a XSLT style sheet that can be applied to transform an XML source file to an XML target file.
Caution!  Before using this step, you must know either the URL or the path to the source file on the server. Contact your administrator for assistance to place the files on the server.
The following are a few common scenarios where you can use the XSLT style sheets to transform standard HTML documents:
You have documents in several different formats that are machine-readable, but it is time-consuming to hand code programs to parse and process all of them. You need to combine all the documents into a single format, then generate summary documents and reports based on that collection of documents.
Your web site needs to deliver information to a variety of devices such as desktop browsers, pagers, mobile phones, and other low-resolution devices. With XSLT, you can create information in structured documents, then transform those documents into the formats you need.
You need to exchange data with partners that use different database systems. You want to define a common XML data format, then transform documents written in that format into the import files you need (for example, SQL statements or comma-separated values).
XSLT Step Properties
After adding an /download/attachments/25952292/XSLT_step.png?version=1&modificationDate=1491996318246&api=v2 XSLT step from the Palette to the canvas, you can double-click the step on the canvas and specify the following step properties in the Properties tab displayed at the bottom.
Name
Description
Name
Unique name for the step.
Description
Description for the step (optional).
Enabled
Select this option to enable the step for execution. If it is not enabled, then the step on the canvas is greyed-out.
This option is useful when troubleshooting a process, especially when there are numerous steps in the process.
Error Handling
Select either of the following:
Abort Process - All the steps after the current step are skipped or the entire process is stopped (depending on how you have set the error logging options) if this step stops due to an error.
Ignore Error - The remaining steps in the current process are executed even if this step stops due to an error. This is selected by default.
Source
Name of the source file that must be transformed (required). Type the location of the HTML document (URL) or click Browse and specify the file. It can also be an XML file.
Stylesheet
Name of the .xsl style sheet. Type the location of the .xsl file or click Browse and specify the file.
If no style sheet is specified, the style sheet referenced in the XML source file is used.
Note:  Before you run a process with an XSLT step, edit the XSL namespace:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
The namespace and version number must appear as shown; otherwise, you may receive an error that the style sheet is not valid.
Target
Name of the target file (required). This is the output after the transformation.
Type the location of the HTML document (URL) or click Browse and specify the file.