Skip navigation.
 
mlRe: Converting XML to NSDictionary
FROM : Jean-Daniel Dupas
DATE : Sat May 03 17:59:12 2008

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.

Related mailsAuthorDate
mlConverting XML to NSDictionary Mr. Gecko May 3, 17:01
mlRe: Converting XML to NSDictionary Jens Alfke May 3, 17:51
mlRe: Converting XML to NSDictionary Jean-Daniel Dupas May 3, 17:59
mlRe: Converting XML to NSDictionary Hal Mueller May 3, 19:50