TransformXML Activity

The TransformXML activity transforms large XML files using the specified XSLT.

General Tab

The General tab has the following fields.
Field Literal Value/ Module Property/ Process Property? Description
Name No The name to be displayed in the process definition
Description No A short description of the activity
Input XML Source
(Mandatory) No The format of the input XML:
  • file name
  • input stream
  • output stream
Output Source
(Mandatory) No The format of the output:
  • output stream
  • xml
  • binary
Stylesheet No The stylesheet (XSLT) to be used to transform the large XML file.

Note: You can also specify a stylesheet file name on the Input tab. The stylesheet specified on the Input tab overrides the stylesheet specified on the General tab.

Input Tab

The input for the activity is the following.
Input Item Datatype Description
fileName String The path and name of XML file to be transformed.

This field is available only when File Name is selected as the Input XML source.

InputStream ObjectReference Object reference of the Input Stream mapped from the output of FileToStream activity.

This field is available only when input stream is selected as the Input XML source.

outputStream ObjectReference The Output stream ObjectReference mapped from the GetFragment activity.

It is available only when Output Stream is selected as the Input XML source on the General tab.

stylesheet String Full path of stylesheet which is used to transform the XML file.

Note: The stylesheet specified on the Input tab overrides the stylesheet specified on the General tab.

Output Tab

The output of the activity is the following.
Output Item Datatype Description
outputStream Object Reference The output string reference of the transformed XML which can be used with the StreamToFile and XMLValidation activities.
XML String

Available when xml is selected in the Output Source field on the General tab. This item contains the transformed XML string.

binaryContent Binary Content

Available when binary is selected in the Output Source on the General tab.

The transformed XML content in binary format.

Fault Tab

The Fault tab lists the possible exceptions that can be thrown by this activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about the error codes and corrective actions to take.
Exception Thrown When...
TransformXMLException This is a generic Transform activity exception. This exception provides errors related to XML transformation.
FileNotFoundException Cannot find the file provided in the fileName parameter.