Sorry for the delay in getting back to you, but I have had a few days away.
The captured codes with IR trans looks fine and I can see they are 14 bits long which is correct for standard RC5.
For each command from left to right is the following:-
Bit 1 is always a "1" and is the start bit
Bit 2 defines if it is a 6 or 7 bit RC5 command also called extended RC5 -- When set commands available are from 0 to 63, when clear commands available are from 0 to 127. Also when clear (0), it is inverted to make command bit 7 (MSB)
Bit 3 is the toggle bit and changes with each press of the same button. This is why you CANNOT use RAW hex commands in the Beo5 with RC5 Protocol. If you do only the first press of the same button would work until you pressed a different button.
Bits 4 to 8 inclusive is the device address and if it is zero then the device would normally be a TV
Bits 9 to 14 inclusive is the command.
Later today I will make up an XML file for you to try.