cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with File Content Conversion

Former Member
0 Kudos

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,

View Entire Topic
Former Member
0 Kudos

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