RX drive the BASE of one transistor so this means data goes into this pin and would be connected to the DOUT pin of the XBee.
Then TX is on the other transistors COLLECTOR and is an output from the transistor so it drive the DIN line of the XBee.
This is the logic level side.
On the RS232 side is another complication. There are two types of 9 pin serial cables. One is straight through, Pin 2 to pin 2, pin 3 to pin 3. The other is a cross-over the connects pin 2 to pin 3 and pin 3 to pin 2.
You’ll have to do some research and measuring to determine which cable you have and which you need.
Signal naming for serial communication lines is confusing since TX on one device is the RX on the other device. But not all data sheet etc label to serial lines in this manner. Just look at the Shift schematic.
From the DB9: RS_OUT connects through to RX and RS-IN connects through to TX. But the data flow in RX to RS_OUT and RS-IN to TX.
On the shifter, looking at the top of the board, the db9 looks like this
x x x x x
x x x x
Which pin is the ground?
If I scope it out, it looks like the top left is ground or pin #5
So, the pins are
5 4 3 2 1
6 7 8 9
5=ground
3=RX
2=TX
Yes?
Pin 1 on the DB9 is the pin with a square pad.
Look at the Shifter board picture.
It is easy to see that the DB9 only has three pins connected with board traces. Traces from pins 2 & 3 go to the transistor array chip and pin 5 goes to cap C4.