title: retrieve attributes from a nodes child node
body: <p>I'm experimenting with this xml: </p>
  
  <pre><code>&lt;theFeed&gt;
   &lt;games&gt;
      &lt;game id="103"  period="" clock=""&gt;
          &lt;team id="657" type="home" logo="1/12"  score="46"/&gt;
          &lt;team id="740" type="visitor"  seed="11" score="59"/&gt;
      &lt;/game&gt;
    &lt;/games&gt;
  &lt;/theFeed&gt;
  </code></pre>
  
  <p>and I'm trying to get the attribute "score" from the first child of the game node, but when I use this code(javascript): </p>
  
  <pre><code>var Hlogo = theXml.getElementsByTagName('game')[0].childNodes[0].getAttribute('score');
  </code></pre>
  
  <p>it crashes. I can get attributes from the parent just fine using <code>getAttributes</code>...
  is there something I'm doing wrong?</p>