Have you verified that the two radios are associated to each other? If these are using the Zigbee firmware, one will need to be a coordinator. Also most 3rd party Raspberry Pi code uses the XBee in API mode.
What I would suggest if you are using transparent mode, remove the XBee, wire up the connection using the XBee port and try to get your data going.