title: Scraping XML with JSoup
body: <p>I'm trying to scrape an RSS feed located <a href="http://www.amazon.com/gp/rss/movers-and-shakers/appliances/ref=zg_bsms_appliances_rsslink" rel="nofollow">here</a>.</p>
  
  <p>At the moment I'm just trying to wrap my head around JSoup, so the following code is merely proof of concept (or an attempt at it, at least).</p>
  
  <pre><code>    public static void grabShakers(String url) throws IOException {
  
      doc = Jsoup.connect(url).get();
  
  
      desc = doc.select("title");
      links = doc.select("link");
      price = doc.select("span.price");
  
  }
  </code></pre>
  
  <p>It grabs the title of each item perfectly. The output of each link is simply ten repeated closing link tags and it never finds any prices. I thought perhaps the CDATA was the issue, so I converted doc to html, stripped out the comments using .replace, and then converted it back to a Document for parsing to no avail. Any insight would be greatly appreciated.</p>
  
  <p>The following code is what I'm using to print out each element:</p>
  
  <pre><code>for (Element src : price) {
          System.out.println(src);
      }
  </code></pre>