• 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
CoreData: XML escaping and exporting to another persistent store format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: XML escaping and exporting to another persistent store format


  • Subject: CoreData: XML escaping and exporting to another persistent store format
  • From: Jean Bovet <email@hidden>
  • Date: Thu, 14 Jul 2005 21:27:30 -0700

Hi,

I am quite new to Core Data so my questions maybe trivial:

1) When using the XML store type, do I have to programmatically escape all my strings before putting them into my NSManagedObject's attribute (using CFXMLCreateStringByEscapingEntities for example) ? Is there a way to tell CoreData to do that ?

2) What is the best way to implement an "export" feature that save the content of a managed context to a file with a different format (I have a SQL store and I want my export function to create a XML store for backup purpose) ? Should I add a new persistent store type and invoke save and then remove this persistent store ? Is there a more direct way to do that ?

Thanks for any tips!

Jean Bovet
Arizona Software

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData: XML escaping and exporting to another persistent store format
      • From: Charilaos Skiadas <email@hidden>
  • Prev by Date: Re: Sync Framework and overriding Conflict Resolution Dialog
  • Next by Date: Is it always necessary to lock around mutations of an NSMutableDictionary?
  • Previous by thread: Re: Getting current connection speed
  • Next by thread: Re: CoreData: XML escaping and exporting to another persistent store format
  • Index(es):
    • Date
    • Thread