BizTalk Server General - Conditional logic in Map

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2006 > Conditional logic in Map





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Conditional logic in Map
Billa

2006-02-17, 10:50 pm

Hi,
I want to create a map in such a way , that categories which starts
with "SC:" will go in search criteria and others in simple Category(See
input and output samples below)

Next thing I wanto do do is strip "SC:" from searchcriteria

Any help will be higly appreciated

Input
-----------
<ns0:Second xmlns:ns0="http://ConditionalMap.Second">
<Categories>
<Category>SC:One</Category>
<Category>SC:Two</Category>
<Category>Category_0</Category>
<Category>Category_0</Category>
</Categories>
</ns0:Second>


Output
-----------
<ns0:First xmlns:ns0="http://ConditionalMap.First">
<Data>
<Categories>
<Category>Category_0</Category>
<Category>Category_0</Category>
</Categories>
</Data>
<Subscriptions>
<Subscription>
<SearchCriterias>
<SearchCriteria>One</SearchCriteria>
<SearchCriteria>Two</SearchCriteria>
</SearchCriterias>
</Subscription>
</Subscriptions>
</ns0:First>

Greg Forsythe

2006-02-17, 10:50 pm

underprocessable
RajP

2006-02-26, 10:47 am

Billa,

You can use logical Functoids to check for certain input, based on that only
you can create output. By adding Value Mapping to the logic, you can control
the generation of output node also.

RajP

"Greg Forsythe" wrote:

> Here is a quick sample map
>
> Greg
>
>
> "Billa" <BillaTilla@gmail.com> wrote in message
> news:1140019284.558201.135890@o13g2000cwo.googlegroups.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com