| Tomas Restrepo \(MVP\) 2005-03-24, 5:50 pm |
| Hi
> I am stuck up with a problem in Biztalk Can you help me out please ?
>
> I have a message coming in the the Biztalk orchestration. The message
> is some what like following:
>
> <AccountsInfo>
> <Account>
> <Style>Style1</Style>
> </Account>
> <Account>
> <Style>Style1</Style>
> </Account>
> <Account>
> <Style>Style2</Style>
> </Account>
> </AccountsInfo>
>
> Now I want to create two seperate messages out of this with each of the
> styles like:
>
> Message 1:
>
> <AccountInfo>
> <Account>
> <Style>Style1</Style>
> </Account>
> <AccountInfo>
>
> Message 2:
>
> <AccountInfo>
> <Account>
> <Style>Style2</Style>
> </Account>
> <AccountInfo>
>
> Can you give me any idea how to do this ?
You could use a map in your orchestration that maps one input document to
two output documents and do a little bit of trickery in there (though it
would be a fairly simple XSLT). Also, I believe you could do this fairly
easily using the xpath function and then creating a message from the
resulting XML....
--
Tomas Restrepo
tomasr@mvps.org
|