BizTalk Server Orchestration - Mapping Question: Source schema has 0:N elements

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > Mapping Question: Source schema has 0:N elements





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 Mapping Question: Source schema has 0:N elements
nweddle

2005-06-27, 5:51 pm

How can I convert the following using the mapping tool, or would it be easier
to write my own XSLT? Technically, the source schema key value pairs are
0:N, however there seems to be about dozen or less in each message.

Consider the following example:

<root>
<item>
<key>LocationID</key>
<value>401</value>
<key>ParentID</key>
<value>41</value>
....
</item>
</root>

<root>
<payload>
<LocationID>401</LocationID>
<ParentID>41</ParentID>
</payload>
</root>
John Glisson

2005-07-02, 2:47 am

I had a very similar scenario and used a map that runs off of custom xslt to
perform the transformation.

John

"nweddle" wrote:

> How can I convert the following using the mapping tool, or would it be easier
> to write my own XSLT? Technically, the source schema key value pairs are
> 0:N, however there seems to be about dozen or less in each message.
>
> Consider the following example:
>
> <root>
> <item>
> <key>LocationID</key>
> <value>401</value>
> <key>ParentID</key>
> <value>41</value>
> ....
> </item>
> </root>
>
> <root>
> <payload>
> <LocationID>401</LocationID>
> <ParentID>41</ParentID>
> </payload>
> </root>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com