KissXML XML Generation Help

Discussion in 'iOS Apps' started by HockeyHippo, Aug 18, 2010.

  1. HockeyHippo macrumors newbie

    Joined:
    Aug 18, 2010
    #1
    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.
     
  2. Deepmist macrumors newbie

    Joined:
    Sep 22, 2010
    #2
    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.
     

Share This Page