• 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
NSXML assistance please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSXML assistance please


  • Subject: NSXML assistance please
  • From: Damien Cooke <email@hidden>
  • Date: Mon, 5 May 2008 08:23:57 +0930

I am porting a tool from Java to Cocoa. I am reasonably new to XML and I am having some difficulties.

my Items in the XML look like this:



<Item Name="01.Image.JPG" PhysicalFilePath="C:\Documents and Settings \M01.Image.JPG" Title="Bridge" Category="Structures" SubCategory="" Region="South Australia" MediaType="Photo">
<Keywords>
<Keyword>multi-laned</Keyword>
<Keyword>non-water-based</Keyword>
</Keywords>
</Item>


I can easily get the keywords out but have found no way of getting the attributes out of the <Item> tag. Can someone make some suggestions?

Regards
Damien


_______________________________________________

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


  • Follow-Ups:
    • Re: NSXML assistance please
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Newbie Question: Controls not redrawing on changes
  • Next by Date: Re: List Running apps and windows
  • Previous by thread: Re: Cannot remove an observer ... because it is not registered as an observer.
  • Next by thread: Re: NSXML assistance please
  • Index(es):
    • Date
    • Thread