XML and Data Structure
Hi,
How are you doing? I am just try to find a better data structure for my XML Document. My XML Document is typically contains one-2-many nodes with in elements. Check a sample below.
<task id="Task1" type="Type1" Name="SomeName">
<sub-task id="SomeTask">
<action id="SomeAction" resultMethod="SomeMethod">
<conditional expression="SomeExpression" resultMethod="SomeMethod" />
</action>
</sub-task>
<sub-task id="SomeTask">
<action id="SomeAction" resultMethod="SomeMethod"/>
<action id="SomeAction" resultMethod="SomeMethod" />
</sub-task>
<sub-task id="SomeTask">
<action id="SomeAction" resultMethod="SomeMethod"/>
</sub-task>
<sub-task>....</sub-task>
</task>
<task>.....</task>
I couldnt find typical Data Structures (Binary Trees or Heap) for this document. Any help to identify data structure will be helpful.
Message was edited by:
Sridhar_H

