Hi,

I am having big problems with the Tree.  I am used to having more 
inuitive Tree (recursive) structures, and am conmfortable with 
recursion.

My immediate question is how to use the getChildren() of the default 
ITreeDataDescriptor of a Tree with NO ROOT item, but rather many 
branches coming of the virtual root.

Failing that, and actually in preference of, is a nice tidy way of 
loading recursive XML into a Tree and being able to programmatically 
select an Item.

For example, if I had XML such as 
<Item id="1"/>
<Item id="2">
  <Item id="3">
    <Item id="4"/>
    <Item id="5"/>
  </Item>
</Item>

whats the best way to load that into a Tree, and then whats the best 
way to programmatically select a node (eg where id=4) and have it 
open the Tree to that node.

TIA

Radek


Reply via email to