title: How to get XML tag names in AS3
body: <p>I am trying to get the child XML tag names in my AS3 program.  For example, I have a file with information like this:</p>
  
  <pre><code>&lt;LocationInfo&gt;
     &lt;City&gt;New York City&lt;/City&gt;
     &lt;State&gt;NY&lt;/State&gt;
     &lt;Zip&gt;10098&lt;/Zip&gt;
  &lt;/LocationInfo&gt;
  </code></pre>
  
  <p>I load the file into an ArrayCollection and can access each item I need by name such as 
      ["City"] // Returns New York</p>
  
  <p>Instead of getting the value, what I am trying to do is get the tag name such as State or Zip instead of NY or 10098.</p>