Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Wizumwalt

macrumors newbie
Original poster
Jun 9, 2006
6
0
Hey all,

I'm new to cocoa and having a hard time finding some sort of XML database to use with my app which I'm building in xcode.

At least I think that's what I need. I want to put a book in a database and search for text or verses in it and I have formats availabe in XML (it's bible text).

The only data access framework I've found in XCode for cocoa is coredata, which I find very strange if that's all that's available. I have to go to other vendors for sql or relational dbases.

Anyone have ideas here?
 

HiRez

macrumors 603
Jan 6, 2004
6,265
2,629
Western US
If you can find a way to import the XML into a CoreData database (SQLLite), that should work. Of course, it's not going to be kept in the same XML form (I think), so that's only appropriate for a one-time seeding of the data, but one of the save formats for CoreData is, in fact, an XML format. Worst case, you could write a parser in Cocoa that stuffs the XML into a CoreData database.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.