Hi!
Changing from Speed to Complexity introduced a problem. I have | as child
delimiter and ^ as next level child delimiter.
flat file:
P|something|firstName^middlename^lastname|something
Output with Speed and Complexity:
<P_8_5>something</P_8_5>
- <P_8_6>
<P_8_6_1>firstName</P_8_6_1>
<P_8_6_2>middlename</P_8_6_2>
<P_8_6_3>lastName</P_8_6_3>
</P_8_6>
<P_8_7>something</P_8_7>
But if only the two first child nodes is present the problem looks like
this:
Speed:
<P_8_5>something</P_8_5>
- <P_8_6>
<P_8_6_1>firstName</P_8_6_1>
<P_8_6_2>middlename</P_8_6_2>
</P_8_6>
<P_8_7>something</P_8_7>
Complexity:
<P_8_5>something</P_8_5>
- <P_8_6>
<P_8_6_2>firstName</P_8_6_2>
<P_8_6_3>middlename</P_8_6_3>
</P_8_6>
<P_8_7>something</P_8_7>
You see that the nodes is in the wrong place so I don't know what to do to
solve this problem??
I must use Complexity to solve problem with min occurs = 0
Any suggestion please!
Thanks
Rune