title: Get node name with minidom
body: <p>Is it possible to get the name of a node using minidom?</p>
  
  <p>For example I have a node:</p>
  
  <pre><code>&lt;heading&gt;&lt;![CDATA[5 year]]&gt;&lt;/heading&gt;
  </code></pre>
  
  <p>What I'm trying to do, is store the value <code>heading</code> so that I can use it as a key in a dictionary.</p>
  
  <p>The closest I can get is something like:</p>
  
  <pre><code>[&lt;DOM Element: heading at 0x11e6d28&gt;]
  </code></pre>
  
  <p>I'm sure I'm overlooking something very simple here, thanks.</p>