Multiple elements to single element mapping
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 Tools > Multiple elements to single element mapping




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

    Multiple elements to single element mapping  
Shahid Azim


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


 
09-23-04 10:51 PM

I have an XML document like this:

<MyDates>
<Date Type="Document">20040923</Date>
<Date Type="Despatch">20040924</Date>
</MyDates>

And I want to map the above document to the following document:

<NewDates>
<OrderEntryDate>20040923</OrderEntryDate>
<DespatchDate>20040923</OrderEntryDate>
</NewDates>

Here

Type="Document" -> <OrderEntryDate>
Type="Despatch" -> <DespatchDate>

I have tried with looping functoid but its not working. So any suggestion?





[ Post a follow-up to this message ]



    RE: Multiple elements to single element mapping  
Tan Bao Nguyen


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


 
09-23-04 10:51 PM

In the output below, should it be (note the DespatchDate value):

<NewDates>
<OrderEntryDate>20040923</OrderEntryDate>
<DespatchDate>20040924</OrderEntryDate>
</NewDates>

If so, use two index functoid; link the first index functoid (with an index
value of 1) to the OrderEntryDate field and the second index functoid (with
an index value of 2) to the DespatchDate field.

Regards,
Tan Nguyen
Microsoft BizTalk Server

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------[vbcol=seagreen] 
15:43:36 GMT)[vbcol=seagreen] 
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!p
ostnews1.google.com!not-for-mail[vbcol=seagreen] 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:00 PM.      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