Hi,

I want to serialize and deserialize my objects to/from XML files.

NOTE: My object is not a dictionary, so I am not using the plist.

I have found NSXMLParser for event-driven parsing and I also found
NSXMLDocument for tree-based parsing.

However, I don't see anything to *serialize* my objects back to XML files.

I see there is NSXMLDocument's XMLData. Is it what I should be looking
at? Isn't there a better option? In particular, not tree-based
(analogous to NSXMLParser)?

I'd like to know the current best practices. I've searched through the
archives but haven't found any up-to-date recommendations. What is
modern and what is deprecated?

Thanks!
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to