title: Trying jsoup: getting "cannot find symbol" when I just declared it the line before
body: <p>I need to find a value in an html table, so right now I'm trying to get the hang of JSoup.</p>
  
  <p>I'm trying to use implement this code: <a href="http://jsoup.org/cookbook/extracting-data/dom-navigation" rel="nofollow">http://jsoup.org/cookbook/extracting-data/dom-navigation</a></p>
  
  <p>The first two lines I've implemented, but the third one (Element content = doc.getElementById("content");) causes an "error: cannot find symbol. symbol: variable doc. location: class testparse).</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import org.jsoup.*;
  import org.jsoup.nodes.*;
  import java.io.*;
  
  
  public class testparse {
    public static void main(String[] args){
      try
      {
      File input = new File("abc.htm");
      Document doc = Jsoup.parse(input, "UTF-8", "");
      }
      catch(IOException exc){
        System.out.println(exc);
      }
  
  
      Element content = doc.getElementById("content");
  
  
    }
  }
  </code></pre>
  
  <p>All help is greatly appreciated!</p>