On 24/03/2011, at 08:52, Mike Abdullah wrote: > > On 23 Mar 2011, at 23:13, Siegfried wrote: > >> Also, now on the mechanics, I think creating a mutable string and go >> appending parts of the XML in a loop is adequate for this task, and using >> NSXMLParser to parse it back should work. Indeed, the file will not be that >> big (usually a few hundreds of KBs, really extremes cases are 1 or 2MB). > > If you do this, use KSXMLWriter from: > https://github.com/karelia/KSHTMLWriter > > It'll handle escaping etc. properly for you.
Mike, thanks a lot for providing both the link and your work. It's really helpful! Best regards, Siegfried_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com