cancel
Showing results for 
Search instead for 
Did you mean: 

Sender file adapter with content conversion Simple XML

Former Member
0 Kudos

Hi experts,

I'm trying to parametrize my sender file adapter content conversion.

I'm receiving a text file with one single line like:

AA1;AA2; AA3;

and I want to convert it to an XML like

 <MT_A1>
<field1>AA1</field1>
<field2>AA2</field2>
<field3>AA3</field3>
</MT_A1> 

Actually I know how to do somenthing like

 <MT_A1>
    <LINE>
          <field1>AA1</field1>
          <field2>AA2</field2>
          <field3>AA3</field3>
     <LINE>
</MT_A1> 

What I want is remove the <LINE> tag from my XML.

Regards

Gonzalo

Edited by: Gonzalo del Castillo on Nov 28, 2008 2:18 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can't get the format you are expecting from the FCC output.It required atleast one root node.

I can suggest you one way. Craete 2 structures and map the output of FCC to required structure.

Former Member
0 Kudos

OK, thats what I suspected.

Thanks for the help

dharamveer_gaur2
Active Contributor
0 Kudos
Former Member
0 Kudos

Yes, I know that. But I didn't found there how to do that. I need something like the parameter 'ignoreRecordsetName' but for the nest context level.

Regards

Former Member
0 Kudos

We dont have such type of option .