title: How to get value of specified tag attribute from XML using regexp + Python?
body: <p>I have a script that parses some xml. XML contains:</p>
  
  <pre><code>&lt;SD TITLE="A" FLAGS="" HOST="9511.com"&gt;
  &lt;TITLE TEXT="9511 domain"/&gt;
  &lt;ADDR STREET="Pmb#400, San Pablo Ave" CITY="Berkeley" STATE="CA" COUNTRY="US"/&gt;
  &lt;CREATED DATE="13-Oct-1990" DAY="13" MONTH="10" YEAR="1990"/&gt;
  &lt;OWNER NAME="9511.Org Domain Name Proxy Agents"/&gt;
  &lt;EMAIL ADDR="proxy@9511.org"/&gt;&lt;LANG LEX="en" CODE="us-ascii"/&gt;
  &lt;LINKSIN NUM="75"/&gt;&lt;SPEED TEXT="3158" PCT="17"/&gt;
  &lt;CHILD SRATING="0"/&gt;
  &lt;/SD&gt;
  &lt;SD&gt;
  &lt;POPULARITY URL="9511.com/" TEXT="1417678" SOURCE="panel"/&gt;
  &lt;/SD&gt;
  </code></pre>
  
  <p>How to get the 'TEXT' attribute value of  tag(in my case 1417678)? I'm using regexp+Python. Regexp string:</p>
  
  <pre><code>my_value = re.findall("POPULARITY[^\d]*(\d+)", xml)
  </code></pre>
  
  <p>It gets to me '9511' but i need '1417678'.</p>