I've come across a must read Zigbee book that explains all the fundamental things you've ever wanted to know.
A highly recommended read, although not using TI code examples! Maybe in the next version perhaps :)
The title of the book is called "Zigbee Wireless Networking" by Drew Gislason. It's available from Amazon.
Another good online Zigbee resource is the Daintree Networks website www.daintree.net. They have a Zigbee Primer
whitepaper among others that explains difficult Zigbee concepts in a simple, easy to absorb manner.