Skip to main content
The XSLT connector provides support for Extensible Stylesheet Transformation (XSLT 1.0) transforms.

Key Capabilities

  • XSLT 1.0 transformation support for converting XML documents based on stylesheet templates
  • Document function and embedded script support for advanced transformations

Overview

After an XSLT file has been uploaded to the connector, XML files arriving at the connector are automatically converted based on the XSLT definition.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Connector Settings

Settings related to the core operation of the connector.

Other Settings

Settings not included in the previous categories. Only visible if you use the .NET edition.

Advanced Tab

Advanced Settings

Message

Message settings determine how the connector searches for messages and manages them after processing.

Note: The settings below are deprecated and hidden by default. They appear only on connectors where they were previously enabled or configured to a non-default value. To retain copies of successfully processed files, right-click the connector in the flow, choose Show Success Path, and connect the success path to a File connector.

SettingDescription
Save to Sent Folder (Deprecated)Copies files processed by the connector to the Sent folder. Disabled by default. Files saved to the Sent folder are not covered by Encryption at Rest.
Sent Folder Scheme (Deprecated)Groups files in the Sent folder by the selected time interval. Only relevant when Save to Sent Folder is enabled.

Logging

Settings that govern the creation and storage of logs.

SettingDescription
Log LevelThe verbosity of logs generated by the connector. When you request support, set this to Debug.
Log Subfolder SchemeInstructs the connector to group files in the Logs folder according to the selected interval. The Weekly option (which is the default) instructs the connector to create a new subfolder each week and store all logs for the week in that folder. Leaving this setting blank tells the connector to save all logs directly in the Logs folder. For connectors that process many transactions, using subfolders helps keep logs organized and improves performance.
Log MessagesCheck this to have the log entry for a processed file include a copy of the file itself. If you disable this, you might not be able to download a copy of the file from the Transactions tab.

Other Settings

Miscellaneous

Miscellaneous settings are for specific use cases.

SettingDescription
Other SettingsEnables you to configure hidden connector settings in a semicolon-separated list (for example, setting1=value1;setting2=value2). Normal connector use cases and functionality should not require the use of these settings.

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Performance

Settings related to the allocation of resources to the connector.

SettingDescription
Max WorkersThe maximum number of worker threads consumed from the threadpool to process files on this connector. If set, this overrides the default setting on the Performance Settings portion of the Advanced Settings page.
Max FilesThe maximum number of files sent by each thread assigned to the connector. If set, this overrides the default setting on the Performance Settings portion of the Advanced Settings page.

Alerts Tab

SLAs Tab

Macros

Examples

XSLT Operations

In addition to the Operations provided with Arc, connectors can provide operations that extend functionality into ArcScript. These connector operations can be called just like any other ArcScript operation, except for two details:
  1. They must be called through the connector.rsc endpoint.
  2. They must include an auth token.
For example, calling a connector operation using both of these rules might look something like this:
The operation specific to the functionality of the XSLT connector is described below.

xsltTranslate

Translates an input XML file according to a configured XSLT connector or a specified XSLT file.

Required Parameters

  • ConnectorId: The name of the configured XSLT connector to use for translation, OR
  • TemplateFile: The path to the XSL template to use for translation, OR
  • Data: The contents of the XSL template to use for translation
  • File: The input file to translate

Optional Parameters

  • OutputEncoding: By default, the operation outputs ASCII data. To output base64-encoded binary data instead, set this parameter to base64.
  • OutputFile: When this is set, output data is not written to the Data output attribute and is instead written to the specified file.

Output Attributes

  • Data: The output from the translation is passed through this parameter.