extra record in the output flat file

I am converting an input xml schema to a flat file output through a mapping. The output is below.

HEADER 13022014                                   
      1ABC32198210 421 101                     0.00        0.00
      2ABC32198210 422 D03                     1.00        0.00
TRAILER      2
 
But I would need an extra record in the output file such that the output will be as below
 
HEADER 13022014                                   
      1ABC32198210 421 101                     0.00       0.00  
      2ABC32198210 422 D03                     1.00      0.00
      3ABC32198210 426 D03                     0.00      0.00  
TRAILER      3

Is there anything we can do insert an extra record with slightly different mapping for that extra record?

February 14th, 2014 10:07am

Hi Ragavalli,

Can you please share some more information about your question? Information like what is input and what exactly you mean by "slightly different mapping".

Please share all the possible information related to the question, as this help others to understand it properly. 

Free Windows Admin Tool Kit Click here and download it now
February 14th, 2014 10:17am

Add an scripting function with inline-XSLT or Call-XSLT template where you can construct the additional record.

So if first two records are equivalent to a record/some records from input schema, then use the scripting function with inline-XSLT or Call-XSLT template where you can construct the additional record not related to the input schema. inline-XSLT or Call-XSLT template give your this freedom and flexibility.

February 14th, 2014 11:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics