Convertor XML language
Message transformation configuration is an XML file with rules for FIX tag/value manipulations. The root element is <Mapping> element. It encloses all other elements in configuration file.
<Rule> elements
Every rule contains conditions and actions. Conditions are used for rule triggering and actions describe the rule behavior. There is only one attribute (mandatory) - the "Name" attribute. It is unique within current XML configuration file.
Example:
Code Block | ||
---|---|---|
| ||
<Rule Name="SimpleRule">
<Condition>
<Inclusion>
<FieldEqualsTo Field = "35">
<Val>D</Val>
<Val>G</Val>
<Val>F</Val>
</FieldEqualsTo>
</Inclusion>
<Exclusion/>
</Condition>
<ActionIfTrue>
<TryCopyField SourceField ="11" TargetField ="95011" />
</ActionIfTrue>
<ActionIfFalse>
<StopProcessing/>
</ActionIfFalse>
</Rule> |
1.1. <Condition> elements
...