native xml database for cocoa?

Discussion in 'Mac Programming' started by Wizumwalt, Jun 9, 2006.

  1. macrumors newbie

    Joined:
    Jun 9, 2006
    #1
    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?
     
  2. macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
  3. thread starter macrumors newbie

    Joined:
    Jun 9, 2006
    #3
    Yeah, I know sleepycat, but for cocoa? How so?
     
  4. macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #4
    you can integrate c++ with cocoa, so just use the the db api for sleepycat.
     
  5. macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #5
    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.
     

Share This Page