title: Jsoup Element.attr() returning unexpected value (Android)
body: <p>i'm using JSoup to parse a webpage like <a href="http://www.latijnengrieks.com/categorie.php?id=120" rel="nofollow">this</a>, and make it into two string arrays, one for each of the items text values (to be displayed in a ListActivity) and one for the links. some of these text values have special characters which jsoup has trouble parsing. at first i used:</p>
  
  <pre><code>Document doc = Jsoup.connect(URL).get();
  maintable = doc.select(".kader").first();
  </code></pre>
  
  <p>to get the element for the table with the content. in another thread here someone said it would work using Jsoup.parse(html), so i changed it to this:</p>
  
  <pre><code>Document doc = Jsoup.connect(URL).get();
  Document DOC = Jsoup.parse(doc.html());
  if(doc.select(".kader") != null){
      maintable = DOC.select(".kader").first();
  }
  </code></pre>
  
  <p>however this did not seem to work either. so i left that as something later to solve (here perhaps) but it is not my main problem. 
  if i try to get a String array of all the links displayed in the main content i would use this method:</p>
  
  <pre><code>public String[] getTranslationLinks(){
      String[] items = new String[alllinks.size()];
      Element tempelement;
      for(int i = 0;i&lt;items.length;i++){
          tempelement = alllinks.get(i);
  
          items[i] = tempelement.attr("abs:href");
      }
      return items;
  }
  </code></pre>
  
  <p>the debugger says that tempelement contains the proper element, but for some reason the .attr("abs:href") doesnt return the link as requested. tempelement would for instance contain:</p>
  
  <pre><code>&lt;a href="./vertaling.php?id=6518" target="_top" title=""&gt;Hoofdstuk 3, tekst A: Herakles de slaaf&lt;/a&gt;
  </code></pre>
  
  <p>but the .attr(abs:href) returns "".</p>
  
  <p>do any of you know a way to solve these problems?</p>