Skip navigation.
 
mlxml parsing
FROM : Bart Beulen
DATE : Fri Jun 13 22:54:11 2008

Hi All

I'm new to cocoa and working on an xml parser.
I would like to parse xml files like the following example

<poi>
   <description>bla bla</description>
   <image>imag1</image>
   <url>http://www.blabla.com</url>
</poi>
<poi>
   <description>bla bla2</description>
   <image>imag2</image>
   <url>http://www.blabla2.com</url>
</poi>
<poi>
   <description>bla bla3</description>
   <image>imag3</image>
   <url>http://www.blabla3.com</url>
</poi>

I came up with some code from the apple documentation (http://developer.apple.com/documentation/Cocoa/Conceptual/XMLParsing/XMLParsing.html#/
/apple_ref/doc/uid/10000186), but somehow only the first poi is 
processed. There are no errors or warnings in the code.

Thanks in advance!

Related mailsAuthorDate
mlxml parsing Bart Beulen Jun 13, 22:54
mlRe: xml parsing Mike Manzano Jun 13, 23:01
mlRe: xml parsing Steve Majewski Jun 13, 23:09
mlRe: xml parsing Mike Jun 14, 07:47