Figure 7.1 is an XML document that represents a RSS (rich site summary) feed, a document designed to provide summary information about a Web site.
It is used as the input file to explain the parsing methods
<!DOCTYPE rss
SYSTEM “http://my.netscape.com/publish/formats/rss-0.91.dtd”>
<rss version=”0.91″>
<channel>
<title>www.example.com</title>
<link>http://www.example.com/</link>
<description>
www.example.com is not a site that changes often…
</description>
<language>en-us</language>
<item>
<title>Announcing a Sibling Site!</title>
<link>http://www.example.org/</link>
<description>
Were you aware that example.com is not the only site in the example family?
</description>
</item>
<item>
<title>We’re Up!</title>
<link>http://www.example.net/</link>
<description>
Our new RSS feed is up. Visit us today!
</description>
</item>
</channel>
</rss>