PDA

View Full Version : populating data from tree to tree component


madhava
12-17-2004, 02:25 PM
Hello

I have a tree component. It is getting populated from an xml. fine upto now.

Now when I click on a particular node I want to search for the same node in another xml and the child nodes of that node has to be populated in another tree.

I think the question might look confusing...

Me will give a example like this.

First.xml

Node>
<fruits>
<fruit name = "apple"/>
<fruit name = "mango"/>
<fruit name = "bannana"/>
</fruits>
</Node>

second Xml

<Node>
<Apple>
<apple name ="kashmir apple"/>
<apple name="shimla apple"/>
</Apple>
</Node>

When u click on the node apple it shld search in the second xml for the node apple and shld poulate the data in another tree with the apple names

Thanks in advance
Madhav ram upadrasta