BizTalk Server General - Re: Mapping doc with mutliple nodes to a sequence of single output

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2004 > Re: Mapping doc with mutliple nodes to a sequence of single output





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 Re: Mapping doc with mutliple nodes to a sequence of single output
Edwin King

2004-08-13, 5:51 pm

Hello Jeff,

I have an incoming message that is similar to the following (where there are
one or more 'application' elements under the root 'allapplication'):

<allapplications>
<application>
<marketingpartnerapplicationid/> <applicationdate>20040716</applicationdate>
<applicationprinteddate>20040716</applicationprinteddate>
<loans>
<loan>
<loantypecode/>
<loanlenderservicername/>
<loanlenderservicernumber/>
</loan>
<loan>
<loantypecode/>
<loanlenderservicername/>
<loanlenderservicernumber/>
</loan>
</loans>
</application>
<application>
<marketingpartnerapplicationid/> <applicationdate>20040716</applicationdate>
<applicationprinteddate>20040716</applicationprinteddate>
<loans>
<loan>
<loantypecode/>
<loanlenderservicername/>
<loanlenderservicernumber/>
</loan>
<loan>
<loantypecode/>
<loanlenderservicername/>
<loanlenderservicernumber/>
</loan>
</loans>
</application>
</allapplications>

I need to pull out each 'application' element and construct a new message
instance
based on another schema.

I've been able to map from 'application' to the required message (well
mostly ;)

My problem is, what is the best way to go about extracting the individual
'application' elements from 'allapplications' so that I can create each new
message instance. It seems like it should be simple; but I'm unable to see
the solution.

Thanks for your help.

Regards,
Edwin King


"Jeff Lynch" wrote:

> Can you post a sample of what you are trying to accomplish and your schemas?
> I can think of several different methods to map and flatten an inbound
> message.
>
> --
> Jeff Lynch
> "A BizTalk Enthusiast"
> http://dotnetjunkies.com/WebLog/jlynch/
>
>
>
> "Edwin King" <Edwin King@discussions.microsoft.com> wrote in message
> news:039A540F-AEEB-4607-B306-E774CA2B23E3@microsoft.com...
> pull
> liberty
> might
> schema
> appreciated.
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com