XML (Rule)
(1) See section Testing a File (Rule).
(2) The root element from which on the XML file is parsed. Important note: The XML element must be specified in XPath notation. Simply always use the notation shown in the screenshot. This also applies to (3), (4) and (5).
(3) If this element occurs multiple times, the XML file is split each time this element occurs. See example below.
(4) Here you must specify any element of the XML file whose value is parsed as sending partner. See example below.
(5) Here you must specify any element of the XML file whose value is parsed as receiving partner. See example below.
Example File
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
data
>
<
message
>
<
sender
>CHANNEL001</
sender
>
<
recipient
>CHANNEL002</
recipient
>
<
record
>
<
any
>something...</
any
>
</
record
>
<
record
>
<
any
>something else...</
any
>
</
record
>
</
message
>
</
data
>
If you test these settings, you will see nicely how the XML file was split into two files.
Split
See (3) and example.
Important note: Please note that the recipient is read from the file only once (i.e. the first value that is found). Both splits are then sent to this one recipient!