title: lxml classic: Get text content except for that of nested tags?
body: <p>This must be an absolute classic, but I can't find the answer here. I'm parsing the following tag with lxml cssselect:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="/stations/1"&gt;&lt;span class="num"&gt;3&lt;/span&gt; Detroit&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I want to get the content of the <code>&lt;li&gt;</code> tag <strong>without</strong> the content of the <code>&lt;span&gt;</code> tag. </p>
  
  <p>Currently I have: </p>
  
  <pre><code>stop_list = doc.cssselect('ol#stations li a')
  start = stop_list[0].text_content().strip()
  </code></pre>
  
  <p>But that gives me <code>3 Detroit</code>. How can I just get <code>Detroit</code>?</p>