You can use libxml2. I suspect it is the fastest approach. Add its framework to your project (see the "setting up your project" section of this document). In the header of your XML writer, add the following imports: #import <libxml/encoding.h> #import <libxml/xmlwriter.h> In the implementation, write a method to generate your XML. Presumably you'll be sending your request's bytes via an NSData* ob