next() Example

List all the titles in an RSS 0.91 document:

<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- generator="HPE/1.0" -->
<!-- Copyright (C) 2000-2002 News Is Free. Terms Of Service http://www.newsisfree.com/termsofservice.php -->

<rss version="0.91">
<channel>
<title>Ananova: <!-- interrupting comment -->Archeology</title>
<link>http://www.ananova.com/news/index.html?keywords=Archaeology&amp;menu=news.scienceanddiscovery.archaeology</link>
<description>Ananova: News on the move from the leading site for breaking 
UK and world news, sport, entertainment, business and weather stories and information. 
(By http://www.newsisfree.com/syndicate.php 
- FOR PERSONAL AND NON COMMERCIAL USE ONLY!)</description>
<language>en</language>
<webMaster>mkrus@newsisfree.com</webMaster>

<lastBuildDate>11/05/02 22:16 CET</lastBuildDate>
<image>
  <link>http://www.newsisfree.com/sources/info/3389/</link>
  <url>http://www.newsisfree.com/HPE/Images/button.gif</url>
  <title>Powered by News Is Free</title><width>88</width>
  <height>31</height>
</image>

<item>
<title>Britain's earliest leprosy victim may have been found</title>
<link>http://www.newsisfree.com/click/-2,9782455,3389/</link>
</item>
<item>
<title>20th anniversary of Mary Rose recovery</title>

<link>http://www.newsisfree.com/click/-2,9773139,3389/</link>
</item>
<item>
<title>'Proof of Jesus' burial box damaged on way to Canada</title>
<link>http://www.newsisfree.com/click/-6,9663454,3389/</link>
</item>
<item>
<title>Remains of four woolly rhinos give new insight into Ice Age</title>
<link>http://www.newsisfree.com/click/-4,9533904,3389/</link>
</item>
<item>
<title>Experts solve crop lines mystery</title>

<link>http://www.newsisfree.com/click/-5,9352720,3389/</link>
</item>
</channel>
</rss>

Previous | Next | Top | Cafe con Leche

Copyright 2000-2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 5, 2002