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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to