Let me explain...
RAW is a HEX value of each of the actual IR Pulses and Pauses transmitted signal. Hexidecimal is a value to the power 16 meaning it is 4 binary bits which provide values in the range 0 to 9 and A to F, so an 8 bit binary value of 00001111 would be Hex 0F
RAW is NOT a protocol and is an image copy of the original transmitted IR signal, therefore it has limitations when used with protocols such as RC5 where bit 3 is toggled with each button press. For protocols which use the same transmitted IR signal it is a perfect solution and is how 99% of all learning remotes work. The Beoworld XML Generator ONLY converts to RAW.
So if we take the first few pulses and pauses of an actual signal captured and convert them. The first column is the "Pulse" and the second column is the "Pause" time in decimal microseconds. The third column is the period which is the Pulse and period added together.
09120,04422 = 13542
00622,00503 = 1125
00624,00504 = 1128
00648,01610 = 2258
00624,00503 = 1127
00622,00505 = 1127
00647,00479 = 1126
The first line above is the START bit and I happen to know that this signal is an NEC protocol, so if we convert the second line to Hex as below:-
So, decimal 662 in binary is 001001101110 which split into Hex bytes is 0010 0110 1110 which in Hex representation is 26E.
Using the above example you get the following Hex values
23A0,1146
026E,01F7
0270,01F8
0288,064A
0270,01F7
026E,01F9
0287,01DF
I hope this helps you understand teh convertion to Hex