After spending some time working on Jabeh, my latest creation for iPhone/iPod Touch, I’m taking some time to dump a little learned knowledge into my blog.
In my first app, my XML needs weren’t that great, so putting up with the lack of
NSXMLDocumentin the iPhone SDK was not a big deal. However, in Jabeh I was changing the XML format so often and using so much of it for my network communication creating delegates forNSXMLParserquickly became a huge time sink. After a little hacking, I came up with APXML to solve my DOM problem. It’s not a perfect implementation of the W3C XML 1.0 standard, but it’s close enough for a lot of usage. One particular shortcoming is its lack of support for namespaces but maybe somebody else can add that support. If you just want to jump in and start using it (LGPL license), you can get the code from github:
So iv been doing some reading on XML parsing using the iPhone recently (not as simple as it should be), and I came across a rare for the iPhone open source XML parsing library.
Havent tried it out myself yet but have read some good reviews so far… ill let you guys know how it goes…
Posted via web from Salman S. Qadeer
