Mapping Question: Source schema has 0:N elements
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Mapping Question: Source schema has 0:N elements




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Mapping Question: Source schema has 0:N elements  
nweddle


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-27-05 10:51 PM

How can I convert the following using the mapping tool, or would it be easie
r
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>





[ Post a follow-up to this message ]



    RE: Mapping Question: Source schema has 0:N elements  
John Glisson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-02-05 07: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 eas
ier
> 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>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:51 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register