on 10-08-2007 9:20 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.