title: extracting data from xml of .docx document
body: <p>I need to extract the data between  tags as mentioned below.Also,I want to concatenate the data if the data is in  corresponding to the same id.</p>
  
  <p>For examle,as per the below XML both  tags are within the  tabs corresponding to the same id "00F1234A"
  Hence "Hello World" needs to be extracted.</p>
  
  <pre><code>xml_string="
  &lt;w:r w:rsid="00F1234A"&gt;     
      &lt;w:rPr&gt; 
  
      &lt;/w:rPr&gt;
      &lt;w:t&gt;Hello&lt;/w:t&gt;
  &lt;/w:r&gt;   
  
  
  &lt;w:r w:rsid="00F1234A"&gt;     
      &lt;w:rPr&gt; 
  
      &lt;/w:rPr&gt;
      &lt;w:t xml:space="preserve"&gt;World&lt;/w:t&gt;
  &lt;/w:r&gt;"
  </code></pre>
  
  <p>currently, am extracting data between  tags with the following regex</p>
  
  <pre><code>re.findall("&lt;w:t&gt;(.+?)&lt;/w:t&gt;",xml_string)
  </code></pre>
  
  <p>this gives me Hello, but not Hello World</p>
  
  <p>how can i concatenate the data in  corresponding to the same id,which in this case is "00F1234A"</p>