• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XML serialization and deserialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML serialization and deserialization


  • Subject: XML serialization and deserialization
  • From: "Oleg Krupnov" <email@hidden>
  • Date: Thu, 24 Jul 2008 16:20:36 +0300

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: XML serialization and deserialization
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Daemon Advice?
  • Next by Date: Re: Folder has limited permissions.
  • Previous by thread: Re: Folder has limited permissions.
  • Next by thread: Re: XML serialization and deserialization
  • Index(es):
    • Date
    • Thread