Je récupérais le format xml via un flux RSS. Je suis incapable de trier les éléments en profondeur comme je l'ai trié facilement « canal -> Description » commeProblème lors de l'extraction de xml via un flux rss
NSString *resultValue=[[responseDictionary valueForKeyPath:@"rss.channel.description"] textContent];
Au-dessus Résultat: YouTube RSS
Ma question est de savoir comment je peux analyser .... article -> Description ... ie (Clip par Andrews \ u00A9 1982 MJJ Productions Inc.) Je reçois nil
si j'aille chercher comme valueForKeyPath:@"rss.channel.item.description"]
Key: rss Value: {
"_text" = "\n";
channel = {
"_text" = "\n";
description = {
"_text" = "YouTube RSS Feed";
};
item = (
{
"_text" = "\n\t";
description = {
"_text" = "Music video by Andrews \U00a9 1982 MJJ Productions Inc.";
};
enclosure = {
length = 294;
type = "application/x-shockwave-flash";
url = "http://youtube.com/v/Zi_XLOBDo_Y.swf";
};
link = {
"_text" = "http://youtube.com/?v=Zi_XLOBDo_Y";
};