Re: XML and NSCoder
Re: XML and NSCoder
- Subject: Re: XML and NSCoder
- From: Stefan Kreutter <email@hidden>
- Date: Wed, 28 Nov 2001 14:43:05 +0100
Simson,
The XML.framework that comes with WebObject5 includes header files for
WOXMLEncoder/WOXMLDecoder.
There seem to be some more private methods that you can with class-dump
(like WOXMLEncoder _encodeArray:forKey:).
The framework also defines a bunch of categories so one can
encode/decode the basic Foundation types.
If it really works I can say because I never tried.
-Stefan
On Tuesday, November 27, 2001, at 04:49 AM, Simson Garfinkel wrote:
Is there any way to make NSCoder spit out XML? Failing that, is there a
general XML encoding & decoding thing for Objective-C? I've starting
writing
my own "emitXML:(NSString *)" for generating XML and using expat for
reading
it, but I can't help but thinking that ther eis a better way.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev