Skip to Content
0
Former Member
Jun 17, 2009 at 04:13 PM

Sender File adpter --File content conversion

27 Views

Hi friends,

My input infie structure is as below

O1 t1

O1 t2

O1 t3

O2 t4

O2 t5

Here O1,02 are the order number and t1 t2 t3 t4 & t5 are the data for the line items.

I want to convert the above file to the below xml by field content conversion

<HEADER>
   <O1>
<DETAIL>
    <DEATILROW>
      <T1>
   <DETAILROW>
<DETAIL>
<DETAIL>
    <DEATILROW>
      <T2>
   <DETAILROW>
<DETAIL>
<DETAIL>
    <DEATILROW>
      <T3>
   <DETAILROW>
<DETAIL>
<HEADER>

<HEADER>
   <O2>
<DETAIL>
    <DEATILROW>
      <T4>
   <DETAILROW>
<DETAIL>
<DETAIL>
    <DEATILROW>
      <T5>
   <DETAILROW>
<DETAIL>
<HEADER>

Appreciate your help.

Srinivas

Edited by: Srinivas on Jun 17, 2009 12:14 PM

Edited by: Srinivas on Jun 17, 2009 1:39 PM