Printing data from Arduino to Xbee explorer

For a project I'm working on I need to use Xbee shields for wireless communication. I've got it working so that the functions of my arduino uno work wireless, like an accelerometer and LEDs, but I would also like to print the data of the accelerometer to the Xbee explorer and computer. Is there a way to do this, or can I only use the Arduino as a receiver?

you can use an arduino as both. do some reSEARCH and you will find many topics about it. connect RX of the xbee to TX of the Arduino and xbee TX to Arduino RX. do the same for both arduinos and then use simple serial.print or whatever. you have to unplug the xbees while programming.