3 Replies Latest reply on Jan 25, 2008 3:46 PM by ntsiii

    Tree control and XML

    josh_aries Level 1
      Hi,

      I have an XML file. I want to display the nodes from the XML using a tree control.

      The structure of the XML is

      <grandparent>
      <parent>
      <child1> 1 </child1>
      <child2> 2 </child2>
      <child3> 3 </child3>
      </parent>
      <parent>
      <child1> 4 </child1>
      <child2> 5 </child2>
      <child3> 6 </child3>
      </parent>
      <parent>
      <child1> 7 </child1>
      <child2> 8 </child2>
      <child3> 9 </child3>
      </parent>
      </grandparent>

      Can I display the tree like

      grandparent
      parent
      1
      4
      7

      skipping some children.