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
Logging
Settings that govern the creation and storage of logs.
| Setting | Description |
|---|---|
| Log Level | The verbosity of logs generated by the connector. When you request support, set this to Debug. |
| Log Subfolder Scheme | Instructs 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 Messages | Check 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.
| Setting | Description |
|---|---|
| Other Settings | Enables 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.
| Setting | Description |
|---|---|
| Max Workers | The 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 Files | The 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:- They must be called through the
connector.rscendpoint. - They must include an auth token.
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.