Yes, XML works great as a dataProvider Tree.
With your structure, you will want to use a labelFunction. I have several examples on CFLEX.net, including labelFunction with complex xml. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tkacyndra Sent: Wednesday, May 23, 2007 4:52 PM To: [email protected] Subject: [flexcoders] Populate Tree with XML the only examples i found online for tree involve a XMLList. is it possible to use an XML to populate it? for example, my XML looks like this: [code] [Bindable] private var MyCat:XML = <categories> <category ID="0"> <title>Category 1</title> <link ID2="0"> <linkTitle>Link 1 Title</linkTitle> <linkURL>http://www.link1.com <http://www.link1.com> </linkURL> </link> </category> <category ID="1"> <title>Categor 2 </title> <link ID2="0"> <linkTitle>Link1 title</linkTitle> <linkURL>http://www.Line 1 URL.com</linkURL> </link> <link ID2="1"> <linkTitle>Link2 title</linkTitle> <linkURL>http://www.Line 2 URL.com</linkURL> </link> </category> </categories> [/code] Thanks in advance!

