View Full Version : Build xml
Jul 5, 2010, 01:51 PM
Right now i'm using NSXMLParser to build objects from xml. Is there an objective-c way of building xml from objects? I have a feeling i'm going to get the "use lib2xml." but i'm looking for an obj-c way.
Jul 5, 2010, 01:58 PM
Is there an objective-c way of building xml from objects?
Yes (http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSXMLDocument_Class/Reference/Reference.html), but it's not available on the iPhone :(
Either use lib2xml or just build it in a NSMutableString!