Re: Parsing XML to CoreData

2011-03-24 Thread Luther Baker
I guess you could also alloc a new NSMutableString every time you enter "didStart" ... copy will essentially be doing that for you. If you do this - don't forget to release in "didEnd" ... or even right before allocing - just in case you somehow break out before reaching didEnd. -Luther On Thu

Re: Parsing XML to CoreData

2011-03-24 Thread Siegfried
On 24/03/2011, at 13:13, Hank Heijink (Mailinglists) wrote: > On Mar 24, 2011, at 12:06 PM, Siegfried wrote: > >> So, after discussing some methods to import and export a CoreData database, >> I ended up sticking with my initial XML idea. >> ... > > You need to copy currentXMLValue, because in y

Re: Parsing XML to CoreData

2011-03-24 Thread Hank Heijink (Mailinglists)
On Mar 24, 2011, at 12:06 PM, Siegfried wrote: > So, after discussing some methods to import and export a CoreData database, I > ended up sticking with my initial XML idea. > > Now I'm stuck in a problem when parsing that is probably simple, but I can't > solve. Basically, my XML is like this:

Parsing XML to CoreData

2011-03-24 Thread Siegfried
So, after discussing some methods to import and export a CoreData database, I ended up sticking with my initial XML idea. Now I'm stuck in a problem when parsing that is probably simple, but I can't solve. Basically, my XML is like this: Value Value Value Value Value