title: Using Jsoup CSS selector for the text between 2 elements
body: <p>all. I'm using jsoup css seletor for web page scraping, but don't know how to get the text between 2 tags. as shown below:</p>
  
  <p><code>&lt;html&gt;</code> <br/>
  <code>&lt;body&gt;</code> </p>
  
  <p><code>&lt;a</code> name = "xxx" <code>&gt;</code> some text here<code>&lt;/a&gt;</code> </p>
  
  <p><code>&lt;a</code> name = "abc"<code>&gt;</code> the text 1 <code>&lt;/a</code>>`</p>
  
  <p>i wanna get the text here</p>
  
  <p><code>&lt;a</code> name = "cde"<code>&gt;</code>the text 1 <code>&lt;/a&gt;</code></p>
  
  <pre><code>&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>the attribute name of <code>&lt;a&gt;</code> is unique on the hmtl</p>
  
  <p>I found most answers were to extract the text between <code>&lt;a&gt;</code> <code>&lt;/a&gt;</code></p>
  
  <p>anyone know how to do this. thanks a lot</p>