3 Replies Latest reply on Aug 29, 2008 3:32 AM by christomanos

    Filter xml from a list component

    christomanos Level 1
      Hi all,

      This is my first post to flex forums :)

      How can i filter an xml file using all the items from a List component as search filters?
      I managed to do it with one

      for example

      myXml.items.item(score == myList.selectedItem.toString() );

      with this i filter my xml only by the score element.

      What if i want to filter it by age,gender,team,rating etc?

      for example

      myXml.items.item(score == myList.selectedItem.toString() && age == myList.selectedItem.toString());


      thats not correct. Please tell me the correct way.

      Thanks in advance