title: Grabbing data from an XML stream using jsoup
body: <p>Im trying to get the 'Done' from between these tags in an XML stream</p>
  
  <pre><code>&lt;scan_run_status&gt;Done&lt;/scan_run_status&gt;
  </code></pre>
  
  <p>This is the code I'm using but it returns nothing.</p>
  
  <p>I am picking up <code>id</code> and <code>status</code> in the same way no problem. </p>
  
  <p>input1 contains the xml string</p>
  
  <pre><code>status = Jsoup.parse(input1).getAllElements().attr("scan_run_status");
  
  System.out.println(status);
  </code></pre>
  
  <p>Thanks</p>