Hello simon,
Here is the document explaining the format, the midicon is one of the few controllers that actually have the note (index) numbers documented in the manual.
For example to change button 25 & 26:
<action>
<trigger type="Midi" specifier="Change">Channel X - Message 9 - Index 77</trigger>
<tasks>
<task type="Playback Button 1" feature="ButtonPrimair" function ="Control"/>
</tasks>
</action>
<action>
<trigger type="Midi" specifier="Change">Channel X - Message 9 - Index 78</trigger>
<tasks>
<task type="Playback Button 2" feature="ButtonPrimair" function ="Control"/>
</tasks>
</action>
To page select 1 & 2 (argument is zero based):
<action>
<trigger type="Midi" specifier="Change">Channel X - Message 9 - Index 77</trigger>
<tasks>
<task type="Playback Fader 1" function="Set" feature="Bank">
<argument type="Unsigned">0</argument>
</task>
</tasks>
</action>
<action>
<trigger type="Midi" specifier="Change">Channel X - Message 9 - Index 78</trigger>
<tasks>
<task type="Playback Fader 1" function="Set" feature="Bank">
<argument type="Unsigned">1</argument>
</task>
</tasks>
</action>