Using the source property to filter and bind to XML data
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:XMLList id="myXML"> <users> <users> <user id="1">A</user> <user id="2">B</user> </users> </users> </mx:XMLList> <mx:XMLListCollection id="myXLC" source="{myXML.users.user}" /> </mx:Application>