Talk About Network

Google





Software > Biz Talk NonXML > Re: Pasring alt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 960 of 978
Post > Topic >>

Re: Pasring alternating data records in data section of flat file

by Jan Eliasen <eliasen@[EMAIL PROTECTED] > Oct 24, 2007 at 10:37 PM

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]

 




 2 Posts in Topic:
Pasring alternating data records in data section of flat file
=?Utf-8?B?TWlsYW4gQm9iZGU  2007-10-24 09:01:01 
Re: Pasring alternating data records in data section of flat fil
Jan Eliasen <eliasen@[  2007-10-24 22:37:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:42:39 PST 2009.