I’m traying to extract info from a table made in xml, here is an example of mi file testXML.xml, it is inside the app:
<response>
<responseCode>0</responseCode>
<rows>
<row>
<user>1969-01-01</user>
<score>1.5434126596E-2</score>
</row>
<row>
<user>1969-02-01</user>
<score>1.5489521629000001E-2</score>
</row>
<row>
<user>1969-03-01</user>
<score>1.5504809914E-2</score>
</row> < /rows> </response>
what I’m trying to do is, to write in a text field the user, search it in the xml and display the score from the same row in a label. help please :S
ok…so i suggest to use a NSDictionary instead
to get data from dict:
to save to file:
to read from file:
its easyer..it searches automatically, its fast
i dont see why you would use a xml over a dictionary in this case