< ?xml version="1.0" encoding="utf-8"? > < rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:ynews="http://news.yahoo.com/rss/" version="2.0" > < channel >
< title>Cricket News Headlines | Cricket News - Yahoo! News India< /title>
< link>http://in.news.yahoo.com/cricket/< /link>
< description>Check out the latest Cricket news headlines from Yahoo! News India. Find top Cricket stories and in-depth coverage of Cricket news from India and around the world.< /description>
< language>en-IN< /language>
< copyright>Copyright (c) 2011 Yahoo! Inc. All rights reserved< /copyright>
< pubDate>2011-04-06T15:30:02+05:30< /pubDate>
< ttl>5< /ttl>
< image>
< title>Cricket News Headlines | Cricket News - Yahoo! News India< /title>
< link>http://in.news.yahoo.com/cricket/< /link>
< url>http://l.yimg.com/os/mit/media/m/index/img/Yahoo_logo_en- IN.gif< /url>
< /image> < item>< title>Hectic schedule will drain players, says Dhoni< /title>
< description>Chennai, Apr 6 (PTI) ...< /description>
< link>http://in.news.yahoo.com/hectic-schedule-drain-players-says-dhoni-20110406-023100-889.html< /link>
< pubDate>2011-04-06T09:31:00Z< /pubDate>
< source>PTI< /source>
< guid isPermaLink="false">/hectic-schedule-drain-players-says-dhoni-20110406-023100-889.html< /guid>
< /item>
< item>
< title>India, Pakistan trade secretaries to meet on April 27-28< /title>
< description>New Delhi, Apr 6 (PTI) ...< /description>
< link>http://in.news.yahoo.com/india-pakistan-trade-secretaries-meet-april-27-28-20110406-023100-140.html< /link>
I want only the HEADLINES from this XML, that is only between < item>< title>MESSAGES< /title> tags. Also have to print the message one after other continuously. how can i do this.