Was this helpful?
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).
To add a XSLT step:
1. Drag and drop a XSLT step from the Palette to the canvas.
2. Double-click the step on the canvas to open the Step Properties tab.
3. Type a unique name for the step.
4. Specify the step properties.
For more information, see Adding Steps.
XSLT Step Properties
Name
Description
Name
Unique name for the step.
Description
(Optional) Description for the step.
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:
Stop Process - (Default) All the steps after the current step are skipped or the entire process is stopped (depending on how you have the error logging options set) if this step stops due to an error.
Ignore Error - The remaining steps in this process are executed even if this step stops due to an error. This is useful when you want to write a Decision step that can test for the error state of a previous step.
Note:  The Break after first error Logging Option on the Configuration tab overrides the Ignore Error option in the step level, hence when you set the Ignore Error option at step level, you should uncheck (disable) the Break after first error Logging option for the Ignore Error to be effective.
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.
 
Last modified date: 02/09/2024