title: Parsing NSXMLNode Attributes in Cocoa
body: <p>Given the following XML file:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;application name="foo"&gt;
   &lt;movie name="tc" english="tce.swf" chinese="tcc.swf" a="1" b="10" c="20" /&gt;
   &lt;movie name="tl" english="tle.swf" chinese="tlc.swf" d="30" e="40" f="50" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>How can I access the attributes ("english", "chinese", "name", "a", "b", etc.) and their associated values of the MOVIE nodes?  I currently have in Cocoa the ability to traverse these nodes, but I'm at a loss at how I can access the data in the MOVIE NSXMLNodes.</p>
  
  <p>Is there a way I can dump all of the values from each NSXMLNode into a Hashtable and retrieve values that way?</p>
  
  <p>Am using NSXMLDocument and NSXMLNodes.</p>