cancel
Showing results for 
Search instead for 
Did you mean: 

Content conversion, skip header line

Former Member
0 Kudos

Hi Forum,

I have a flat file with a structure of exactly one header line, and unbounded number of detail lines.

The file is picked up using a JMS adapter. I'm using the transformerbean to convert the file contents.

My problem is to skip the header line. Basically I could do with plain conversion (SimplePlain2XML) but the parameter xml.documentSkipFirstRows is only available when using structure conversion (StructPlain2XML).

However, structure conversion is not an option for me, since my detail lines cannot be identified by a key field. Therefore I'm not able to specify a keyfieldvalue which is mandatory when using structure conversion..

Given this scenario, how is it possible to avoid the header line in the resulting XML document ?

Help will of course be appreciated by points!

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi Hans,

try deleting the header from your own adapter module

and put it before the transformerbean adapter module

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>