Think of the XBee modules and the associated development board nothing more than a COM port with a serial cable between devices. Your application that you write or work with must be able to send data via a COM port at a given baud rate or data rate. No more or less. For that reason, no sample code is provided or required.