cancel
Showing results for 
Search instead for 
Did you mean: 

Empty record when using FCC!

Former Member
0 Kudos

The target output file has empty line after File Content Conversion. I using XSLT mapping with selection criteria.

Sample output XML

<root>

<child>

<field1>field1</field1>

<field2>field2</field2>

</child>

</root>

XI output

(empty line)

field1|field2

FCC parameters

Recordset Structure: child

child.fieldSeparator: |

child.endSeparator: 'nl'

Expected output:

field1|field2

Message was edited by:

Sarveshwar Kuncha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

>>Recordset Structure: child

Change it to Root,1,child,*.

it will work.check below links for reference.

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

Regards,

Phani

Reward Points if helpful

Former Member
0 Kudos

Hi Sarveshwar,

if you are using the said FCC means it would generate the file as per expected output.Once check your XSLT mapping and try to test the interface mapping whether u r getting the empty record or not and let me know your feedback.

Cheers

Veera

>>> Reward Points, If it is needful.

Former Member
0 Kudos

Hi Veera,

Thanks for the input, I fixed the empty values at the start of the record in the XSLT mapping and that fixed the issue.

When I looked at the payload it has only one record and the output has two lines. Could you explain what was the issue so that I can understand the problem and solve it in future.

Thanks,

Sarvesh