title: Python minidom parsing xml gives None or empty string instead of values from xml
body: <p>I am trying to parse SAP results xml file (generated in soapUI) in Python using minidom and everything goes smoothly until it comes to retrieving values. </p>
  
  <p>No matter what type of node it is, value printed is <code>None</code> or just empty string.
  Nodes have different types and only value I can get so far is tag name for element node. When it comes to it's value I get <code>None</code>.
  For text one I get <code>#text</code> for <code>nodeName</code>, <code>3</code> for <code>nodeType</code>, but empty string for <code>nodeValue</code>.</p>
  
  <p>Whats wrong with it?</p>
  
  <p>The code is:</p>
  
  <pre><code>from xml.dom.minidom import parse, Node
  
  def parseData():
  
     try:
        data = parse('data.xml')
     except (IOError):
        print 'No \'data.xml\' file found. Move or rename the file.'
  
     Milestones = data.getElementsByTagName('IT_MILESTONES')
  
     for node in Milestones:
        item_list = node.getElementsByTagName('item')
        print(item_list[0].childNodes[1].nodeName)
        print(item_list[0].childNodes[1].nodeType)
        print(item_list[0].childNodes[1].nodeValue)
  </code></pre>
  
  <p>while important part of XML structure looks like that:</p>
  
  <pre><code>&lt;IT_MILESTONES&gt;
        &lt;item&gt;
           &lt;AUFNR&gt;000070087734&lt;/AUFNR&gt;
           &lt;INDEX_SEQUENCE&gt;2300&lt;/INDEX_SEQUENCE&gt;
           &lt;MLSTN&gt;1&lt;/MLSTN&gt;
           &lt;TEDAT&gt;2012-08-01&lt;/TEDAT&gt;
           &lt;TETIM&gt;09:12:38&lt;/TETIM&gt;
           &lt;LST_ACTDT&gt;2012-08-01&lt;/LST_ACTDT&gt;
           &lt;MOBILE&gt;X&lt;/MOBILE&gt;
           &lt;ONLY_SL/&gt;
           &lt;VORNR&gt;1292&lt;/VORNR&gt;
           &lt;EINSA/&gt;
           &lt;EINSE/&gt;
           &lt;NOT_FOR_NEXT_MS&gt;X&lt;/NOT_FOR_NEXT_MS&gt;
        &lt;/item&gt;
  &lt;/IT_MILESTONES&gt;
  </code></pre>