In an effort to be more active in the Cocoa developer community, we are releasing ATSGenx, an Objective-C wrapper for Genx by Tim Bray, a library for generating canonical XML.
ATSGenx is distributed under a very open license. You can basically do anything you want with it. Refer to the included Genx license for it’s own terms. ATSGenx has been tested on Mac OS X 10.6 but should work on iPhone as well. The zip file includes everything you should need to get started.

ATSGenx 0.1
Comments are welcome. Enjoy.
Tags: genx, source code, XML


Thanks!
I’ve just used it a bit, but it looks good so far.
One issue I ran into on the iPhone is that it doesn’t have this method:
[NSFileHandle fileHandleForWritingToURL: ....]
Which is referenced in:
- (void)startXMLDocumentWithURL:(NSURL *)url
I ended up reworking it slightly to:
- (void)startXMLDocumentWithPath:(NSString *)path
But you may prefer a different solution.
Yeah, I meant to look at iPhone support but had something else come up and thought it would be best to just get it out there. I’ll tweak it to make sure it all works out of the box on iPhone for the next release.