title: extract text from xml documents in python
body: <p>This is the sample xml document :</p>
  
  <pre><code>&lt;bookstore&gt;
      &lt;book category="COOKING"&gt;
          &lt;title lang="english"&gt;Everyday Italian&lt;/title&gt;
          &lt;author&gt;Giada De Laurentiis&lt;/author&gt;
          &lt;year&gt;2005&lt;/year&gt;
          &lt;price&gt;300.00&lt;/price&gt;
      &lt;/book&gt;
  
      &lt;book category="CHILDREN"&gt;
          &lt;title lang="english"&gt;Harry Potter&lt;/title&gt;
          &lt;author&gt;J K. Rowling &lt;/author&gt;
          &lt;year&gt;2005&lt;/year&gt;
          &lt;price&gt;625.00&lt;/price&gt;
      &lt;/book&gt;
  &lt;/bookstore&gt;
  </code></pre>
  
  <p>I want to extract the text without specifying the elements how can i do this , because i have 10 such documents. I want so because my problem is that user is entering some word which I don't know , it has to be searched in all of the 10 xml documents in their respective text portions. For this to happen I should know where the text lies without knowing about the element. One more thing that all these documents are different. </p>
  
  <p>Please Help!!    </p>