0 Replies Latest reply on Mar 14, 2007 1:21 PM by sean_hess


    sean_hess Level 1
      Hi, I'd like to set the dataProvider of a tree component to the following xml

      <hello label="henry">tsldjkf</hello>
      <monkey label="no">
      <label label="Checking! Subnode">Checking</label>
      <hello label="bozbo">tsldjkf</hello>
      <hello label="umm">tsldjkf</hello>
      <hello label="asdf">tsldjkf</hello>

      I want only nodes with the attribute label to show up, and I want them to show up as nested here. Right now I'm using.

      var myXML:XML = allThatXML;
      dataProvider = myXML..@label;

      But this puts all the items on the first level.