Re: Parsing common elements between xml documents

2010-04-18 Thread Malayil George
Thanks Jens. I switched to TinyXML to do my xml parsing and things have been going well so far. Since, all the xml documents I will be parsing are pretty small, I think it should be ok (shouldn't cause much of a memory overhead with the DOM route). George On Sat, Apr 17, 2010 at 8:58 PM, Jens Al

Re: Parsing common elements between xml documents

2010-04-17 Thread Jens Alfke
On Apr 17, 2010, at 12:42 PM, Malayil George wrote: > But, I figure it would be easier if I could set > up a parser that would parse B into it's object and return it. So, while > parsing A, when I encounter element B, I would like to hand-off the entire B > element to my B parser and have it retu

Parsing common elements between xml documents

2010-04-17 Thread Malayil George
Hi, I have an xml document of structure say . . . Element B can occur in another document . . . I have been going through NSXMLParser (on the iPhone) and can parse document A by setting the d