title: How to efficiently remove table from docx/xml and extract text
body: <p>I've a problem with extracting text out of .docx after removing table.
  The docx files I'm dealing with contain a lot of tables that I would like to get rid of before extracting the text.
  I first use docx2html to convert a docx file to html, and then use BeautifulSoup to remove the table tag and extract the text. </p>
  
  <pre><code>from docx2html import convert
  from bs4 import BeautifulSoup
  ...
  temp = convert(FileToConvert)
  soup = BeautifulSoup(temp)
  for i in range(0,len(soup('table'))):
      soup.table.decompose()
  Text = soup.get_text()
  </code></pre>
  
  <p>While this process works and produces what I need, there is some efficiency issue with docx2html.convert(). Since .docx files are in infact .xml files, would it be possible to skip the the procedure of converting docx into html and just extract text from the xml after removing tables.</p>