Glad that you worked it out. :) -TH
--- In [email protected], "aaron smith" <[EMAIL PROTECTED]> wrote: > > ok I got it.. I was just being retarded... > > it was as easy as getting the selectedItem as xml (XML (mytree.selectedItem)) > > then looping through that and just adding nodes that mach my search to an > array.. > > > > private function parseSelection( searchXML:* ):void > { > for each( var prop:* in searchXML ) > { > if( [EMAIL PROTECTED] == "item" ) > { > itemNodes.addItem( new SubscriptionsNodeItemVO( > [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) ); > } > else > { > parseSelection( prop.node ); > } > } > } > > > > smith > > > > > > On 9/24/06, aaron smith <[EMAIL PROTECTED]> wrote: > > > > it needs to be recursive or global selector though.. > > > > the XML can change, nesting many levels or nesting few levels.. > > > > is there a global selector for nodes the the type=="item"? > > > > like... > > > > myNodes = XML(tree.selectedItem).(@type == 'item'); > > > > but on the whole document, not just the root node?? > > > > > > > > > > > > On 9/24/06, EECOLOR < [EMAIL PROTECTED]> wrote: > > > > > > Or something like this: > > > > > > var nodesFound:XMLList = searchXML..node.(@id == [EMAIL PROTECTED]); > > > > > > Greetz Erik > > > > > > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

