The XSLT Connector supports using an XSLT file to automatically convert XML structures.
After an XSLT file has been uploaded to the connector, XML files arriving at the connector will automatically be converted based on the XLST definition.
This section contains all of the configurable connector properties.
Settings related to the core operation of the connector.
- Connector Id The static name of the connector. All connector-specific files are held in a folder by the same name within the Data Directory.
- Connector Description An optional field to provide free-form description of the connector and its role in the flow.
- XSL Template File The XSLT file that defines the XML transformation to be performed by the connector.
Settings that determine where files will be processed from and sent to.
- Input Folder (Send) Files placed here will be processed by the connector. If Send Automation is enabled, the connector will automatically poll this location for files to process.
- Output Folder (Receive) Files that are processed by the connector will be placed here. If the connector is connected to another connector in the flow, files will not remain here and will instead be passed along to the Input/Send folder for the connected connector.
- Processed Folder (Sent) The connector will place a copy of processed files here if Save to Sent Folder is enabled. This copy of the file will not be passed along to the next connector in the flow.
Settings related to the allocation of resources to the connector.
- Max Workers The maximum number of worker threads that will be consumed from the threadpool to process files on this connector. If set, overrides the default setting from the Profile tab.
- Max Files The maximum number of files that will be processed by the connector each time worker threads are assigned to the connector. If set, overrides the default setting from the Profile tab.
Settings not included in the previous categories.
- Log Messages Whether logs from processed files will include a copy of the file itself.
- Save to Sent Folder Whether files processed by the connector should be copied to the Sent folder for the connector.
Settings related to the automatic processing of files by the connector.
- Send Whether messages arriving at the connector will automatically be processed.
In addition to the Operations provided with Arc, connectors may provide operations that extend functionality into ArcScript. Operations specific to the functionality of the X12 Connector are listed below.
Translates an input XML file according to a configured XSLT Connector or a specified XSLT file.
- ConnectorId The name of the configured XSLT Connector to use for translation
- TemplateFile The path to the XSL template to use for translation
Data The contents of the XSL template to use for translation
- File The input file to translate
- OutputEncoding By default, the operation will output ASCII data. To instead output base64-encoded binary data, this parameter should be set to ‘base64’.
- OutputFile - When this is set, output data will not be written to the Data output attribute and will instead be written to the specified file.
- Data The output from the translation is passed through this parameter.