I have problem creating BizTalk flat file schema. Flat file itself
looks this:
STR =DESADV
MSGID =123455
HEADER =BEGIN
HDR1 =4334
HDR2 =232
HEADER =END
LINES =BEGIN
LIN1 =1233
LIN2 =321
LIN1 =345
LIN2 =5431
LINES =END
END =DESADV
I would like the xml message to look something like this
<Message>
<MsgId>123455</MsgId>
<Header>
<Hdr1>4334</Hdr1>
<Hdr2>232</Hdr2>
<Header>
<Body>
<Line>
<Lin1>1233</Lin1>
<Lin2>321</Lin2>
</Line>
<Line>
<Lin1>345</Lin1>
<Lin2>5431</Lin2>
</Line>
<Body>
</Message>
The XML format could be something else, if it easier to do.
What is the easiest way to extract the values from TAG INDENTIFICATOR
= VALUE?
How the repeating lines could be handled? There is no separator
between lines.
I’m using Biztalk 2009
Thanks,
Romet
Use HEADER and END as tag identifier for your schema and make LINES max
occur = unbounded.
Cheers,
Karthick G.
Thanks,
Ram.