Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple documents from one XML file

0 views
Skip to first unread message

Hallvard Korsgaard

unread,
Sep 10, 2001, 9:48:49 AM9/10/01
to
I have the following XML file:

<aspect4>
<invoice>..sub elements..</invoice>
<invoice>..sub elements..</invoice>
<invoice>..sub elements..</invoice>
<invoice>..sub elements..</invoice>
</aspect4>

What I want BizTalk to do is to split this into four (in this example)
separate documents with the <invoice>-tag as the root element.

Now I get four separate documents with the <aspect4>-tag as the root. All
<invoice>-tags but the last are empty. What is wrong? How to to this?

--
Hallvard Korsgaard
ComputerLand I*Nett
email: hallvard....@computerland.no


Oeystein Emhjellen

unread,
Sep 17, 2001, 9:34:05 AM9/17/01
to
You need to specify the inbound and outbound documents differently.
The outbound documens should not include the aspect4 as a record at all.

Do you need four files? Or will one file with four documents suffice?
If you connect the invoice tag in in the inbound file to a looping functoid,
and connect that functoid to the "invoic" record tag on the outbound file,
you should be able to create four occurrences of "invoice" records in the
outbound file.

If you have need for local assistance, please make direct contact with me.

Regards,
Oeystein Emhjellen
Aston R5
o...@astonitgroup.com

---------

"Hallvard Korsgaard" <hallvard....@computerland.no> wrote in message
news:#WNgN9fOBHA.880@tkmsftngp03...

0 new messages