on 02-09-2009 11:51 AM
Hi experts,
I want the output flat file in the following format.
H1 (occurence only 1 )
H2 ( 1...n)
I1
I2
H2
I3
I4
In one of the blogs , i found that CHILD NODE ALWAYS NEEDS TO BE IN THE SAME LINE WITH PARENT
hence out put like
H1 <newline>
H2 <newline>
I1 <newline >
I2 <newline>
H2.....
is not possible ...
only thing possible is..
H1<newline>
H2 I1 I2 <newline>
H2 I3 I4 <newline...
Is this assumption correct?
yeah. this is one of the drawbacks of FCC
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If there is a parent child relationship, then child will be always at the next level of the parent but not at the same level.
so, in your example, you can assume as:
L1 and L2 at the same level but not at the level of H2 as H2 is the parent node of L1 and L2.
Regards.
Edited by: Divya Nancherla on Feb 9, 2009 1:24 PM
Edited by: Divya Nancherla on Feb 9, 2009 1:25 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
When you say anything related to parent-child relationships, the child would always be in the immediate second line of the parent.
If it is in the same line, they are called equal hierarchy nodes and not parent-child relationships.
Regards
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.