MAX parsing (Re: TBXML question)

2012-01-14 Thread Marcel Weiher
On Jan 13, 2012, at 15:23 , Eric E. Dolecki wrote: > I have XML like this: > > > > > > > > Don't know much about TBXML, but with MAX, the following code parses the file (including model classes and scaffolding): -- snip #import @interface User:NSObjec

Re: TBXML question

2012-01-13 Thread Jens Alfke
On Jan 13, 2012, at 5:16 PM, Philip Vallone wrote: > Have you considered using Libxml and xpath? Take a look at > http://cocoawithlove.com/2008/10/using-libxml2-for-parsing-and-xpath.html. libxml is very powerful but it’s also very low-level, and quite grungy to use. If there’s an Obj-C API

Re: TBXML question

2012-01-13 Thread Philip Vallone
Hi Eric, Have you considered using Libxml and xpath? Take a look at http://cocoawithlove.com/2008/10/using-libxml2-for-parsing-and-xpath.html. Phil On Jan 13, 2012, at 9:23 AM, Eric E. Dolecki wrote: > I have XML like this: > > > > > > > > > > I am trying pull ou