title: displaying branched XML on a tree component in flex
body: <p>please i have a namespaced  Xml structure : </p>
  
  <pre><code>&lt;rootlevel xmlns="http://www.wigo.org/simo"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.wigo.org/wigo ./schemas/lexicon.xsd"&gt;
  &lt;name&gt;simulation&lt;/name&gt;
  &lt;num_vars&gt;
      &lt;variable&gt;
          &lt;name&gt;BMASS_COLLECT_PROP_NAT_REM&lt;/name&gt;
                &lt;/variable&gt;
      &lt;/num_vars&gt;
  </code></pre>
  
  <p></p>
  
  <p>now, i have a labelFunction
  that passes in the xml..as an object but when i ran the programme, the tree view has each node, name, num_vars and variable as branches but the content in each of them was null and blank. </p>
  
  <p>So, my question is how can i properly display the  namespaced XML on a tree view such that it shows every branches and elements in each branch?</p>
  
  <pre><code>private function treeLabel(item:Object):String{
  var label:String = item.localName();
  return label;
  }
  </code></pre>