• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xml parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xml parsing


  • Subject: Re: xml parsing
  • From: Mike Manzano <email@hidden>
  • Date: Fri, 13 Jun 2008 14:01:12 -0700

Try posting some code.

On Jun 13, 2008, at 1:54 PM, Bart Beulen wrote:

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!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >xml parsing (From: Bart Beulen <email@hidden>)

  • Prev by Date: xml parsing
  • Next by Date: Re: xml parsing
  • Previous by thread: xml parsing
  • Next by thread: Re: xml parsing
  • Index(es):
    • Date
    • Thread