views:

245

answers:

2

Is there any XML binding framework for Objective-C?

I've tried a few searches on google and didn't find anything yet.

I'm looking for something that reads from a XSD/DTD/XML and generate:

  • the Model classes to store values
  • the actual parser that reads from the XML and populate the model classes
+1  A: 

You may want to look at NSXMLDocument. Apple XML Programming Guide: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/NSXML_Concepts/NSXML.html

dhatch387
A: 

Hello Alexandre, I haven't found any external framework for XML-Binding, still I think you should check the Apple provided solution.

For parsing XML I preffer libxml2, here is a simple tutorial of how to embed this powerful parser in your project.

Hope I helped you.

Mr.Gando