XSL Transform Activity

Use the XSL Transform activity to apply an XSLT stylesheet to specific XML text.

Extensible Stylesheet Language Transformations (XSLT) is a language for transforming XML documents into other formats. XSLT processes an XSLT stylesheet and source XML content to produce an output document. XSLT transformation can transform XML into plain text, HTML, or XML with a different structure from the source content. For additional information and examples, see the XSLT: Extensible Stylesheet Language Transformations document by Mozilla Developer Network.

You can manually enter the Stylesheet and Document values or use variables such as output from other workflow activities, sub-workflows, or atomic actions that occur earlier in the workflow.

You can also insert variables within the text of the Stylesheet and Document values. If the text from the variable causes the format to be invalid, the activity will fail.

Usage

Complete the following properties to use this activity:

  • XSLT - Enter the following information:
    • Stylesheet - Enter or paste the content of the XSLT style sheet or click the Variable Reference icon to choose a variable.
    • Document - Enter or paste the content of the XSLT document or click the Variable Reference icon to choose a variable.

The output of this activity will be located in the Output Document field in the activity properties.