sending api frames from pic controller

how to send api frames from pic24fj64ga002 to xbee??

starts on pg. 98:
http://ftp1.digi.com/support/documentation/90000976_P.pdf