how can i get image from local folder through XML file
<p>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 <code>http://www.iphonesdkarticles.com/2008/11/parsing-xml-files.html</code>. 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.</p>

<pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;kids&gt;
    &lt;image&gt;apple.png&lt;/image&gt;
    &lt;/kids&gt; 

Kids*obj = [appdelegate.kids objectAtindex:0];
NSLog("image %@",obj.image);

NSString *strring = obj.image;
imageview = [[UIImageView alloc]initWithImage:[UIImage imageNamed:string]];
</code></pre>

<p>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</p>
