sax xml display one item at a time randomly
<p>hIw'm using a sax parser and instead of listing everything I want to pull one record at a time. Here is my xml that I'm pulling from </p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;rss version="2.0"&gt;
&lt;channel&gt;
    &lt;title&gt;Conservation Tips&lt;/title&gt;
    &lt;link&gt;blah&lt;/link&gt;
    &lt;description&gt;Living comfortably during a Memphis summer can be challenging, but it   does not have to be costly. What are some of the easiest ways to stay cool and save?&lt;/description&gt;
    &lt;item&gt;
        &lt;title&gt;Have a professional, reputable contractor clean and inspect your air conditioner. This should be done every year, whether you have window or central units.&lt;/title&gt;
    &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Set the thermostat at 78 degrees or higher for the most energy efficient operation. Each degree below this setting adds 6% to your cooling costs.&lt;/title&gt;
    &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Check your air conditioner's filter every time you receive your utility bill.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Use fans to move the air inside your home. This gives the sensation that it is 5 degrees cooler than the actual temperature.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Shade windows on the sunny side of your home.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Keep drapes closed or add room-darkening shades to block out the heat from the sun.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;The outside portion of a central air conditioner is the condensing unit. Keep it clear from dried mud, debris and grass clippings, because it needs to breathe.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Use your programmable thermostat to automatically increase the temperature setting at bedtime.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Sleep under lightweight bedding and use fans during sleep.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Do not place lamps near your thermostat. The thermostat senses the heat produced from the lamp and causes the air conditioner to run longer than necessary.&lt;/title&gt;
        &lt;/item&gt;
    &lt;item&gt;
        &lt;title&gt;Do not set your thermostat at a colder setting than normal when you turn on your air conditioner. It will not cool your home any faster and could result in excessive cooling and, therefore, unnecessary expense.&lt;/title&gt;
        &lt;/item&gt;
&lt;/channel&gt;
</code></pre>

<p></p>

<p>and here is the code that I have</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);


    try {
        url = new URL("url");
    } catch (MalformedURLException e1) {
        // TODO Auto-generated catch block
        e1.printStackTrace();
    }
    RssFeed feed = null;
    try {
        feed = RssReader.read(url);
    } catch (SAXException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }

    ArrayList&lt;RssItem&gt; rssItems = feed.getRssItems();
    for(RssItem rssItem : rssItems) {
        Log.i("RSS Reader", rssItem.getTitle());
        //Log.i(rssItem.getTitle(), rssItem.getDescription());
        //Log.i("RSS Content", rssItem.getLink());
    }
}}
</code></pre>

<p>What I'm trying to do is show one item at a time randomly. I can pull them all but can't seem to get one at a time. Any help is appreciated. Thanks</p>
