hi i am new to iphone.What i need is i have to get image through XML parsing and that image is from local folder.I am trying this using this link http://www.iphonesdkarticles.com/2008/11/parsing-xml-files.html
. what i am doing is store the name of the images in the xml and fetch the name accordingly...it gets name but image is not displayed is there any necessity of converting image string name to bitmap code or anything. my code is as fallows.
<?xml version="1.0" encoding="UTF-8"?>
<kids>
<image>apple.png</image>
</kids>
Kids*obj = [appdelegate.kids objectAtindex:0];
NSLog("image %@",obj.image);
NSString *strring = obj.image;
imageview = [[UIImageView alloc]initWithImage:[UIImage imageNamed:string]];
here i am getting image string name in console as apple.png but it did n't display image in imageview is there anything wrong. If any thing wrong pls post any link related to how to get image from local folder through XML file.Thank you in advance