Talk About Network

Google





Software > Biz Talk NonXML > Re: Splitting F...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 8 Topic 934 of 978
Post > Topic >>

Re: Splitting Flat Files

by obiwanjacobi <obiwanjacobi@[EMAIL PROTECTED] > Jun 10, 2007 at 11:29 PM

On Jun 8, 3:46 pm, Jan Eliasen <elia...@[EMAIL PROTECTED]
> wrote:
> >Can you also explain why adding "another level of indirection" works?
> >My initial schema just had a root node with some attributes. Your
> >solution has a root node and a child with the attributes. Why does one
> >work and the other doesn't?
>
> Baiscally, in your schema, you hadn't described in any way, how a
> record was terminated. You had set the default record delimiter on the
> root node, but you hadn't described any records that used that
> delimiter. I did that.

Right. So the only difference between a schema that will split the
records and a schema that will read in the whole message is that the
'record' node has a maxOccurs of 1 instead of unbounded. Is that
correct?

> >Another related question: Is it possible to split flat files into
> >grouped records?
> >I have this (other) file that has repeating identifiers in each line.
>
> >[ID] [DATA]
> >0001,Hello!
> >0001,How are you?
> >0002,Dear Sir,
> >0002,In response...
>
> >I would like to split this in two messages, one for each ID and each
> >message would have two records. Is that possible or am I looking at
> >writing my own disassembler component here...?
>
> Well, this one is (potentially) more difficult than the previous one.
>
> Are there ALWAYS exactly two lines? Or can there be some groups with
> one record, some groups with ten records, etc.?

There can be one or more records per ID. I'm currently working on a
solution where I split all the records of the incoming message and
then aggregate them back using a serial convoy orchestration and some
custom code.

Is there another solution using just the disassembler?

Thanx
--Marc Jacobi
 




 8 Posts in Topic:
Splitting Flat Files
obiwanjacobi <obiwanja  2007-06-04 04:17:35 
Re: Splitting Flat Files
Jan Eliasen <eliasen@[  2007-06-05 23:35:18 
Re: Splitting Flat Files
Jan Eliasen <eliasen@[  2007-06-07 00:10:42 
Re: Splitting Flat Files
Jan Eliasen <eliasen@[  2007-06-07 14:41:14 
Re: Splitting Flat Files
obiwanjacobi <obiwanja  2007-06-07 22:56:11 
Re: Splitting Flat Files
Jan Eliasen <eliasen@[  2007-06-08 15:46:44 
Re: Splitting Flat Files
obiwanjacobi <obiwanja  2007-06-10 23:29:35 
Re: Splitting Flat Files
Jan Eliasen <eliasen@[  2007-06-17 19:03:26 

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 2:28:41 PST 2009.