Read a XML file

Hi,

in the near future a need to read a XML file.
Somebody have an example of native Cocoa command for read XML file and transform it on a list (or list of list) of records?

Thanks in advance

Hagimeno

Hi,

take a look at NSXMLDocument and Introduction to Tree-Based XML Programming Guide for Cocoa

I’d suggest you also look at Introduction to Event-Driven XML Programming Guide for Cocoa. Rather than transforming XML, it gives you a way to parse-as-you-go, and in some cases I think that’s an easier approach. But what you choose depends very much on the XML.