Subject: How to get parts outside of IQ
Hello there,
As far as my understating is concerned, i know that i can retrieve parts inside of the <iq> tags really easy but the fun part i could not find anything about is outside of those tags.
My requirement for my program is to get the Userdata out of here and in my DB but i cant seem to retrieve it
Here is my XML
<body xmlns='http://jabber.org/protocol/httpbind'>
<presence xmlns='jabber:client' from='jid' to='jid'>
<nick xmlns='http://jabber.org/protocol/nick'>Diana</nick>
<user_data xmlns='http://domain/protocol/user#data'>name:Diana;gender:;age:;single:;url/user/4;pic:picture-4.jpg;city:;zip:;country:</user_data>
</presence>
<iq xmlns='jabber:client' from='Jid' to='JiD' id='JSJaCID_1' type='result'>
<query xmlns='http://domain/protocol/users'><limit>0</limit>
<offset>0</offset><online>1</online></query>
</iq>
</body>
I hope i could my myself clear somehow =)
best wishes
Joe
As far as my understating is concerned, i know that i can retrieve parts inside of the <iq> tags really easy but the fun part i could not find anything about is outside of those tags.
My requirement for my program is to get the Userdata out of here and in my DB but i cant seem to retrieve it

Here is my XML
<body xmlns='http://jabber.org/protocol/httpbind'>
<presence xmlns='jabber:client' from='jid' to='jid'>
<nick xmlns='http://jabber.org/protocol/nick'>Diana</nick>
<user_data xmlns='http://domain/protocol/user#data'>name:Diana;gender:;age:;single:;url/user/4;pic:picture-4.jpg;city:;zip:;country:</user_data>
</presence>
<iq xmlns='jabber:client' from='Jid' to='JiD' id='JSJaCID_1' type='result'>
<query xmlns='http://domain/protocol/users'><limit>0</limit>
<offset>0</offset><online>1</online></query>
</iq>
</body>
I hope i could my myself clear somehow =)
best wishes
Joe