W Dyson
W Dyson

Reputation: 4634

What's the best way to parse XML from a URL for iOS?

I'm looking for the best way to parse XML on iOS. There seem to be SO many ways to do this, so many different examples. Specifically, I want to send a request to a weather service, then extract the weather from the XML response.

If you could point me in the right direction and hopefully someone else will also find this useful.

Upvotes: 3

Views: 5108

Answers (2)

ennuikiller
ennuikiller

Reputation: 46965

If the xml document is small to medium sized, then NSXMLParser is the way to go: NSXMLParser

Upvotes: 5

Related Questions