03-11-06 01:47 AM
You can use the xslt.
But, if you have access to the DB you'd rather add sorting to the DB side
and get the message to BTS also sorted. Mapping is not a good place to
sorting.
--
Regards,
Leonid Ganeline
BizTalk developer
Vancouver
http://geekswithblogs.net/leonidganeline
===================================
<jemkem@yahoo.com> wrote in message
news:1142027013.420971.49310@p10g2000cwp.googlegroups.com...
> If I have an input XML message that when flattened looks like
>
> persona territory5 10
> persona territory4 20
> persona territory4 30
> personb territory3 10
> personb territory3 40
> personc territory2 30
> personc territory3 50
>
>
> Is there a way to use the mapper to get
>
> persona territory5 sequence1 10
> persona territory4 sequence2 50
> personb territory3 sequence1 50
> personc territory2 sequence1 30
> personc territory3 sequence2 50
>
>
> In other words, I'd like to aggregate by person by territory and reset
> a sequence number whenever person changes. Is the mapping process the
> right place to perform this type of operation?
>
>
> Thanks for your help.
> Jay
>
[ Post a follow-up to this message ]
|