on 08-03-2006 2:28 PM
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!
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.