on 2008 Dec 11 2:45 PM
Hi experts,
I know how to do the file content conversion when the input xml is like this:
<documentName>
<NameA>
<field-nameA1>field-value</field-nameA1>
<field-nameA2>field-value</field-nameA2>
<field-nameA3>field-value</field-nameA3>
</NameA>
</documentName>
The problem is I have an input xml like this:
<documentName>
<NameA>
<NameA_1>
<field-nameA1>field-value</field-nameA1>
<field-nameA2>field-value</field-nameA2>
<field-nameA3>field-value</field-nameA3>
</NameA_1>
<NameA_2>
<field-nameA1>field-value</field-nameA1>
<field-nameA2>field-value</field-nameA2>
<field-nameA3>field-value</field-nameA3>
</NameA_2>
</NameA>
</documentName>
How can I implement a nested structure like this?
Regards,
Javier,
Request clarification before answering.
How many diffrent nodes do you have like NAMEA_1 NAMEA_2.... must be finite number
if you have say 4 or 5 .. like a finite/certain number of such records ,... then you can define that in FCC.. each as a seperate node..
define each as a seperate node...
But if suppose the number of such nodes is uncertain.... then what i wd advice you is... that ask the legacy system ppl that before sending this file to XI .... map it in a way... so that all the nodes are named...... NAMEA
BR,
Sushil.
Edited by: Sushil Hadge on Dec 11, 2008 8:36 PM
Edited by: Sushil Hadge on Dec 11, 2008 8:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
22 | |
8 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.