title: Flex XMLListCollection Iteration Concatenating Collected Values
body: <p>I am working in flex builder 3 with an XMLListCollection and have run into this (should be simple) parsing snag...</p>
  
  <p>The XMLListCollection Data:</p>
  
  <pre><code>&lt;data&gt;
      &lt;term name="NUMBERS"&gt;
          &lt;alt_form name="1"/&gt;
      &lt;/term&gt;
      &lt;term name="LETTERS"&gt;
          &lt;alt_form name="A"/&gt;
          &lt;alt_form name="B"/&gt;
          &lt;alt_form name="C"/&gt;
      &lt;/term&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>The AS Function:</p>
  
  <pre><code>private function interateThroughXML(myList:XMLListCollection):void {
      for each (var node : XML in myList){
          trace(node.@name + " is my list item name");
          if (node.alt_form.@name != null) {
              trace(node.alt_form.@name + " is my list SUB item name");
          }
      }
  }
  </code></pre>
  
  <p>The Output:</p>
  
  <blockquote>
    <p>NUMBERS is my list item name<br>
    1 is my list SUB item name<br>
    LETTERS is my list item name<br>
    ABC is my list SUB item name</p>
  </blockquote>
  
  <p>Note that the three subnode name values have been concatenated as "ABC". What do I need to do differently in order to capture the sub-item name values (A, B, and C) individually?</p>