title: Python XML Parsing
body: <p>*Note: lxml will not run on my system.  I was hoping to find a solution that does not involve lxml.</p>
  
  <p>I have gone through some of the documentation around here already, and am having difficulties getting this to work how I would like to.  I would like to parse some XML file that looks like this:</p>
  
  <pre><code>&lt;dict&gt;
      &lt;key&gt;1375&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;Key 1&lt;/key&gt;&lt;integer&gt;1375&lt;/integer&gt;
          &lt;key&gt;Key 2&lt;/key&gt;&lt;string&gt;Some String&lt;/string&gt;
          &lt;key&gt;Key 3&lt;/key&gt;&lt;string&gt;Another string&lt;/string&gt;
          &lt;key&gt;Key 4&lt;/key&gt;&lt;string&gt;Yet another string&lt;/string&gt;
          &lt;key&gt;Key 5&lt;/key&gt;&lt;string&gt;Strings anyone?&lt;/string&gt;
      &lt;/dict&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>In the file I am trying to manipulate, there are more 'dict' that follow this one.  I would like to read through the XML and output a text/dat file that would look like this:</p>
  
  <p>1375, "Some String", "Another String", "Yet another string", "Strings anyone?"</p>
  
  <p>...</p>
  
  <p>Eof</p>
  
  <p>** <em>Originally</em>, I tried to use lxml, but after many tries to get it working on my system, I moved on to using DOM.  More recently, I tried using Etree to do this task.  Please, for the love of all that is good, would somebody help me along with this?  I am relatively new to Python and would like to learn how this works.  I thank you in advance.</p>