Hi guys.
I need to get data from an XML (from a http URL) and be able to store specific keys of data as simple NSStrings to use in the interface, can anybody point me in the right direction??
for instance get an xml from
http://www.google.com/pathtoanxml/xml?variable=[AVARIABLEFROMWITHINTHEAPP] (I can do this part)
however getting the app to read and understand the xml is a problem for me.
let's say the XML file contains many keys like this:
<one>
<city data="London"/>
<time data="12:00"/>
</one>
<two>
<city data="London"/>
<time data="12:00"/>
</two>
Now I know that the XML will always have the same strings/keys so theres no need for the app to determine that
I like the app to be able to look for example the key "City" inside "one" and "time" inside "two" put them into NSStrings
thats all I need it to do!
I can only find much more complex tutorials.