I prefer using one of the native XML extensions, like
You can build really cool apps with API’s and most sites will send either JSON or XML back to your app, I prefer JSON actually but some of these API’s will only send XML and, while you can always convert XML to JSON, it’s always better to save that processing time.
The Most Popular XML Parsers for the iPhone In my research, here’s what seemed to me to be the most popular XML Parsers for the iPhone, and a brief description of each one:
Motivation: For a side project I am working on, I wanted to be able to send a trackback to WordPress blogs (or any blog with an XMLRPC endpoint), using PHP. Simple enough.
$requestAddress = “your XML url”; $xml_str = file_get_contents($requestAddress,0); $xml_str = mb_convert_encoding($xml_str, ‘UTF-8’, “iso-8859-7”); //mb_convert_encoding(‘The URL’, ‘The URL Encoding’, ‘Your encoding’)