Re: Converting XML to NSDictionary
Re: Converting XML to NSDictionary
- Subject: Re: Converting XML to NSDictionary
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 3 May 2008 17:59:12 +0200
Le 3 mai 08 à 17:01, Mr. Gecko a écrit :
How would I convert XML to NSDictionary so I can read it.
Here is an example of how my XML file looks like
<?xml version="1.0" encoding="iso-8859-1"?>
<profile>
<files>
<file url="http://www.example.com/file1" size="522656" name="File
Number 1"/>
<file url="http://www.example.com/file1" size="4533" name="File
Number 2"/>
</files>
</profile>
Maybe the Uli's UKXMLPersistence class do what you want: http://www.zathras.de/angelweb/sourcecode.htm
But as Jens Alfke said, using NSXMLDocument is right too.
_______________________________________________
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