I've looked at the following XMPPFramework - Implement Group Chat (MUC) and have been successfully getting the list of public chatrooms. The list is returned from the function - (BOOL)xmppStream:(XMPPStream *)sender didReceiveIQ:(XMPPIQ *)iq, and I am trying to parse the information to create a plist so my iOS client can display all the chat rooms available to join.
Here is the iq being returned:
<iq xmlns="jabber:client" type="result" from="conference.example.com" to="admin@example.com/2abb8426"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="test@conference.example.com" name="Test Room"/></query></iq>
My problem is that I don't know how to correctly parse the information being returned, can anyone guide me into xml parsing in this example? Thank you for your time.