Subject:Tree Structure through ID hierarchy values Author:vinod mishra Date:09 Nov 2005 11:14 PM
Tree structure can view according to the element but i want to see the tree structure according to there ID hierarchy values.
please help!
In this xml data the first element is section and the paragraphs comes under section(look at para's id value).
For your reference the sample xml data is given.
<section id="p0_c01_s1">
<title>This is the Title</title>
<para id="p0_c01_s1_1">This is first Paragraph.</para>
<para id="p0_c01_s1_2">This is first Paragraph.</para>
<para id="p0_c01_s1_3">This is second Paragraph.</para>
<para id="p0_c01_s1_4">This is third Paragraph.</para>
<para id="p0_c01_s1_5">This is fourth Paragraph.</para>
</section>
<section id="p0_c01_s2">
<title>This is the another Title</title>
<para id="p0_c01_s2_1">This is first Paragraph.</para>
<para id="p0_c01_s2_2">This is first Paragraph.</para>
<para id="p0_c01_s2_3">This is second Paragraph.</para>
<para id="p0_c01_s2_4">This is third Paragraph.</para>
<para id="p0_c01_s2_5">This is fourth Paragraph.</para>
</section>
Subject:Tree Structure through ID hierarchy values Author:(Deleted User) Date:14 Nov 2005 10:48 AM
Vinod,
The sample data you gave seems to already be structured by the id value.
Can you please explain a little more what it is you are trying to do?
Thanks much,
Clyde Kessel