On Wed, 24 Oct 2007 09:01:01 -0700, Milan Bobde
<MilanBobde@[EMAIL PROTECTED]
> wrote:
>Sorry for a long post, but I have been struggling with this for some
time.
>If there is a way of doing this in the flat file schema, it would be
great. I
>beleive the only other option I'd have is to seperate each row and then
parse
>it in the map or something like that.
Create a record for the 1 and a record for the 2.
Then create a looprecord that has three records inside - one for 4,
one for 6 and one for 7.
Create a record for 8 and 9.
The looprecird should have the maxOccurs set to unbounded, and it
should be a choice instead of a sequence. Set the records 4, 6 and 7
to occur only once.
To get this working, remember to set the parser_optimization to
"complexity" and lookahead-depth to 0 - both ar eproperties of the
"<schema>"-node in the tree.
--
eliasen, representing himself and not the company he works for.
Private blog: http://blog.eliasen.dk
Private email: jan@[EMAIL PROTECTED]


|