Alex Rivera | Logout

iPhone Development - XMLParser vs. libxml2 vs. TouchXML

Asked 2009-01-02T13:44:08.283
32

I cannot find comparison of these parsing technique. Which one is most commonly used?

Regards. Mustafa

Edit
Report

1 Answer

14

See XML Tutorial for iOS: How To Choose The Best XML Parser for Your iPhone Project:

There are a lot of options when it comes to parsing XML on the iPhone. The iPhone SDK comes with two different libraries to choose from, and there are several popular third party libraries available such as TBXML, TouchXML, KissXML, TinyXML, and GDataXML. How is a developer to choose the best XML parser for their project?

I have been recently taking a look at the various options out there, and ended up extending the XMLPerformance sample from Apple to try out each of the above libraries to learn how they worked and compare their performance. I thought I’d share what I’ve learned thus far to others who might be searching for the best XML library for their iPhone project.

In this XML tutorial we’ll give a detailed comparison of the features and performance of the most popular iPhone libraries, explain how to choose between them, and give a sample project showing how to read XML data using each of the above libraries...

answered 2010-07-08T12:34:50.980

Your Answer