parse string with tags
I am receiving a chunk of data from PBX in string with tags included.
Something like this:

</response><rid>2</rid><name>2101<name><PeerList></PeerList><status>UNKNOWN</status>
cont...till it fetches all the names/users from the PBX.

what i need to do is to parse this string data to retrieve name & status and update in to the table where i can add the user into iPhone's phonebook.
I ve started with NSScanner but eventually i messed up with that.
if anyone has any idea please help me out!!!!
parse string with tags
===

I am receiving a chunk of data from PBX in string with tags included.
Something like this:

</response><rid>2</rid><name>2101<name><PeerList></PeerList><status>UNKNOWN</status>
cont...till it fetches all the names/users from the PBX.

what i need to do is to parse this string data to retrieve name & status and update in to the table where i can add the user into iPhone's phonebook.
I ve started with NSScanner but eventually i messed up with that.
if anyone has any idea please help me out!!!!