title: Python xml parsing using minidom
body: <p>I just started learning how to parse xml using <code>minidom</code>. I tried to get the author's names (xml data is down below) using the following code: </p>
  
  <pre><code>from xml.dom import minidom
  
  xmldoc = minidom.parse("cora.xml")
  
  author = xmldoc.getElementsByTagName ('author')
  
  for author in author:
      authorID=author.getElementsByTagName('author id')
      print authorID
  </code></pre>
  
  <p>I got empty brackets(<code>[]</code>) all the way. Can someone please help me out? I will also need the      title and venue. Thanks in advance. See xml data below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;coraRADD&gt;
     &lt;publication id="ahlskog1994a"&gt;
        &lt;author id="199"&gt;M. Ahlskog&lt;/author&gt;
        &lt;author id="74"&gt; J. Paloheimo&lt;/author&gt;
        &lt;author id="64"&gt; H. Stubb&lt;/author&gt;
        &lt;author id="103"&gt; P. Dyreklev&lt;/author&gt;
        &lt;author id="54"&gt; M. Fahlman&lt;/author&gt;
        &lt;title&gt;Inganas&lt;/title&gt;
        &lt;title&gt;and&lt;/title&gt;
        &lt;title&gt;M.R.&lt;/title&gt;
        &lt;venue&gt;
           &lt;venue pubid="ahlskog1994a" id="1"&gt;
                    &lt;name&gt;Andersson&lt;/name&gt;
                    &lt;name&gt; J Appl. Phys.&lt;/name&gt;
                    &lt;vol&gt;76&lt;/vol&gt;
                    &lt;date&gt; (1994). &lt;/date&gt;
              &lt;/venue&gt;
  </code></pre>