how to parse rss xml?
<p>i am using below url for rss parsing.
<a href="http://news.baidu.com/n?cmd=4&amp;class=finannews&amp;tn=rss" rel="nofollow">http://news.baidu.com/n?cmd=4&amp;class=finannews&amp;tn=rss</a></p>

<p>But it gives error code 31.Is it possible parsing this type of rss.
If yes then plese give me idea about that.</p>

<p>I am using below code.</p>

<pre><code>NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
        NSURL *xmlURL = [NSURL URLWithString:URL];      
        [xmlParser setClassName:className withRootName:rootName];
        [xmlParser setDelegate:xmlParser];
        [xmlParser setShouldProcessNamespaces:NO];
        [xmlParser setShouldReportNamespacePrefixes:NO];
        [xmlParser setShouldResolveExternalEntities:NO];
        [xmlParser parse];
        [m_delegate setData:xmlParser.message items:xmlParser.items];
        //[xmlParser release];
        [pool release];
</code></pre>
