From:  TO_BizTalker
Date:  18/07/2010 11:57 PM
Newsgroup:  news.microsoft.com/microsoft.public.biztalk.general
Subject:  

Mapping - Selecting Specific Node from Source Collection

NNTP-Posting-Host:  12.35.230.105

Hello there:

I have a source message which can have a collection of Address nodes
say Shipping, Billing, Mailing etc depicted by AddressType attribute.
Here is how source looks:


...
...
...
Now I have to select ONLY Billing address to the destination message. I have used a logical functiod "Equal (=)" with value mapping at the Address level node and mapped it to the destination Address level node. In the equal I am checking if AddType is "Billing" then Value Mapping functiod should create the destination Address node. But somehow, this doesn't seem to work as I get three nodes created in the output as opposed to only one. I was wondering do I need to have this check at every single mapping of the address element? Any suggestions on how to accomplish this through functoids or xslt? Thanks in advance. Maam.

  Subject From Date Size Msg Only
  Mapping - Selecting Specific Node from Source Collection TO_BizTalker 18/07/2010 11:57 PM 2KB View
     Re: Mapping - Selecting Specific Node from Source Collection Alastair Grant 01/08/2010 04:28 PM 2KB View
     Re: Mapping - Selecting Specific Node from Source Collection Daniel S 03/08/2010 08:37 AM 3KB View