Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HockeyHippo

macrumors newbie
Original poster
Aug 18, 2010
3
0
Hey guys I've been trying go through KissXML and use it to generate an XML document but I'm having alot of difficulty with it. I found their 1500 line documentation to also be very confusing. Does anyone have a simple example even to generate <monkeys></monkeys>? I would be very helpful to push me in the right direction. Thanks in advance.
 
KissXML is basically a carbon copy of Apple's NSXML with some stuff missing. The three classes it gives you access to are:

DDXMLDocument (NSXMLDocument)
DDXMLElement (NSXMLElement)
DDXMLNode (NSXMLNode)

These 3 classes already existed in NSXML version but apple disabled the use of them on the iPhone which is why KissXML was created.

If you look at the .h files you will see many methods commented out. Those are not available for use. Everything else works just like the NSXML counterpart so if you want to know how to use them look in the class reference links in the parentheses above or look up how to do something with NSXML and then replace the "NS" with "DD" to allow usage on the iPhone.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.