What is the problem ?
Structure is not correct.
some items in the tree are presented as folders and i dont know why.
Javni razpis 1 shoud be only leaf node and it is also folder. Why is that?
You must define your labelFunction. What value you want display node loacal name, attribute, node value?
The default data descriptor will see any child node as a child and claim that node is a folder. If the xml node used attributes like this:
Then there aren't any child nodes. However, if you can't change the XML structure you can create a custom TreeDataDescriptor that is smarter about hasChildren()
Flex SDK Developer
Adobe Systems Inc.