I took a look at that post, but it doesn't address what I need to do. I can find the node using the XML navigation methods, however, I want to create a list of total nodes matched (there can be many) then allow the user to jump from match to match, so I need to be able to select a node and highlight it. Any thoughts?
Thanks, John --- In flexcoders@yahoogroups.com, "Brad Bueche" <[EMAIL PROTECTED]> wrote: > > http://www.brucephillips.name/blog/index.cfm/2006/12/5/Processing-XML-in > -Flex-20-Using-The-For-Each-Statement-And-The-Descendent-Accessor--Opera > tor > > That should give you most of what you need to know. > > brad > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of j_lentzz > Sent: Monday, February 11, 2008 12:43 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How to programatically select a node in an > XMLListCollection > > > > Hi, > > I have a Tree with the dataProvider being an XMLListCollection. When > looking at the dataProvider with the debugger, all I see is a single > XMLList that contains the complete XML structure - that is all the > nodes and sub-nodes all in one element. I have a routine that will > traverse the tree and find nodes based on parameters I set - and it > will open those nodes. However, I want to be able to jump from found > item to found item, but I can't find a way to set the index to > highlight the item. Is there a way to do this that someone could > explain? > > Thanks, > > John >