I just want to parse a String received from a Post Response, I know there are lib/classes like NSXMLParse and apple provides some example but not what I want, or I'm not ready to understand that code.
I receive this:
<object>
<id>1</id>
<alias>juan</alias>
<email>jps@sol.pro</email>
</object>
<object>
<id>2</id>
<alias>juana</alias>
<email>jpsa@sol.pro</email>
</object>
Then I need to parse, and get the data like this:
NSString *xmlThing = [response];
for xmlThing in-all <object>
{
uint id = <id>1</id>
NSString *alias = <alias>juan</alias>
NSString *email = <email>email@email.com</email>
}
Why like this? because I think is the easiest way to do and parse all kind of html, xml, etc... files.
I appreciate all kind of help.