Skip to main content
The Split connector splits a single XML file into multiple XML files.

Key Capabilities

  • XPath-based XML file splitting for batch record separation into individual files
  • Configurable batch grouping with wildcard XPath support for dynamic element matching
  • Max records per file control for output file size management

Overview

The Split connector is configured with an XPath upon which input XML files should be split into multiple output XML files. This is useful when an XML file contains a batch of data such as multiple orders, multiple line items, or multiple customer records. The Split connector splits this batched XML data into a separate XML file for each order, item, or record. See the Split Examples for more information.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Configuration

Settings related to the core operation of the connector.

Advanced Settings

Settings not included in the previous categories.

Advanced Tab

Message

Logging

Other Settings

Miscellaneous

Automation Tab

Automation

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

Performance

Alerts Tab

SLAs Tab

Split Examples

Below is an example XML input file that contains multiple TransactionSet elements (in other words it contains a batch of transactions):
The Split connector can split this input file into four separate output files, one for each TransactionSet element. To accomplish this, set the XPath field to the XPath to the TransactionSet element: /Items/Interchange/TransactionSet An output file for each TransactionSet would result. One example is shown below. Output 1:
If you set Batch Size to 2, the connector outputs two batch groups, each with two messages. One example batch group is shown below. Batch 1 Batch Message 1:
Batch Message 2:

XPath Wildcards

The XPath can include a wildcard character (*) to split on all elements at a given XPath. For example, the input XML might contain multiple groups of data that need to be split into separate files, but the groups of data have different element names:
Split these groups by setting the XPath to the following value: /Items/* The following three output files would result: Output 1:
Output 2:
Output 3:

Macros

Examples