CoreData: XML escaping and exporting to another persistent store format
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