xml parsing to fetch image data from the url
<p>I working on xml parsing.....</p>

<p>its parsed data success fully . i need to display title,date,time and picture.</p>

<p>it worked on title,date,time,</p>

<p>Now i need to display picture...</p>

<p>for picture its getting some url..... </p>

<pre><code>aEventInfo.event_Picture=http://static.djguide.nl/image/flyers/2010/120/91426front.jpg

     NSURL *url3 = [NSURL URLWithString:aEventInfo.event_Picture];
        NSData *data = [NSData dataWithContentsOfURL:url3];
        NSLog(@"%@data",data);
        UIImage *imageView =[[UIImage alloc] initWithData:data];

            CGSize size;
            size.width=400;
            size.height=400;
            UIImage *scaledImage = [imageView scaleToSize:size];
            cell.imageView.image=scaledImage;
</code></pre>

<p>I did like this its crashing... if i got image url.</p>

<p>If aEventInfo.event_picture=nil.
Its not crashing.</p>

<p>if any value in aEventInfo.event_picture ..
example
<a href="http://static.djguide.nl/image/flyers/2010/120/91426front.jpg" rel="nofollow">http://static.djguide.nl/image/flyers/2010/120/91426front.jpg</a>
My app get crashed.</p>

<p>I dont know how to do..</p>

<p>can any one advice me 
and help me out in this case.</p>

<p>@thanks in advance.</p>
