When creating an XML file which will eventually be displayed as an
<mx:Tree>, do I have to have the following structure:

<root label="parent1_value">
 <child1 label="child1_value"/>
 <child2 label="child2_value"/>
</root>



OR can I have this structure as well:


<root>
 <parent>parent1_value
   <child>
     <child1>child1_value</child1>
     <child2>child2_value</child2>
   </child>
 </parent>
</root>


Thank you
-ms

Reply via email to