0

What framework I should use to grab XML from a http and parse that?

asked Apr 15, 2011 at 10:37
3
  • 1
    Can't believe this question still gets asked at least once a week. Commented Apr 15, 2011 at 10:48
  • Duplicates: 1 2 3 4 5 6 ... Commented Apr 15, 2011 at 17:20
  • possible duplicate of How to read in and parse an XML file on the iphone? Commented May 3, 2011 at 1:42

2 Answers 2

1

Start here:

http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html

You can use the initWithContentsOfURL initializer to actually load the document from the HTTP source.

answered Apr 15, 2011 at 10:40
Sign up to request clarification or add additional context in comments.

Comments

1

Try touchXML:

TouchXML is a lightweight replacement for Cocoa's NSXML* cluster of classes. It is based on the commonly available Open Source libxml2 library.

Here is a nice tutorial.

Source has moved a bit, can be found here

answered Apr 15, 2011 at 10:42

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.