title: how to read XML with ruby
body: <p>Is there a way to read xml with ruby and easily get attributes? Iterating maybe?</p>
  
  <pre><code>&lt;people&gt;
      &lt;john id=1&gt;&lt;/john&gt;
      &lt;Mary id=2&gt;&lt;/Mary&gt;
  &lt;/people&gt;
  </code></pre>
  
  <p>I would like to look at Mary or Johns id's. (John['id']?)</p>