split reading sensors values from stream after it via xbee
Try a communication protocol with a , as a delimiter like:

messageId,data1,data2,data3,....,dataN\n


And use the Messenger library to parse it.

See my answer on comms protocols here:

Communication Protocol Best Practices and Patterns

An how to use the Messenger library here:

Send Processing color data into Arduino