title: XML to NSdictionary to plist
body: <p>Hi guys i have little weird problem. I am using a simple XML to NSDictionary converter
  <a href="http://troybrant.net/blog/2010/09/simple-xml-to-nsdictionary-converter/" rel="nofollow noreferrer">http://troybrant.net/blog/2010/09/simple-xml-to-nsdictionary-converter/</a>
   and but if  print the NSDictionary , i can see the text value for the node but if i store it in plist, text node will not have any string value. see attach images.<img src="https://i.stack.imgur.com/lNrTj.png" alt="i can see the text node value when i print NSdictionary"></p>
  
  <p>here is the plist screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/Qj1wg.png" alt="enter image description here"></p>
  
  <p>here is the  code </p>
  
  <pre><code>NSURL * URL = [[NSURL alloc]initWithString:@"rss feed link "];
      NSData * data = [[NSData alloc] initWithContentsOfURL:URL];
      NSString *testXMLString = [[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
  
      // Parse the XML into a dictionary
      NSError *parseError = nil;
      NSDictionary *xmlDictionary = [XMLReader dictionaryForXMLString:testXMLString error:&amp;parseError];
      NSString * filepath = [self dataFilePathwithFilename:[NSString stringWithFormat:@"TEST.plist"]];
    [xmlDictionary writeToFile:filepath atomically:YES];
  
  
      // Print the dictionary
      NSLog(@"%@", xmlDictionary);
  </code></pre>