|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mapforce help
Hi All,
I want to map two xml data files i.e souce and destination usting with corresponding schemas, xml code as mentioned below, kindly let me know if somebody worked on MAPFORCE tool. Please find attached test files. Please do the needful. Regards Ashok source file __________________________________________________ __________________________________ <?xml version="1.0" encoding="utf-8" ?> <ContactDetails xmlns="http://tempuri.org/Contacts1.xsd"> <ContactDetail> <UserID>U001</UserID> <Name>User 1</Name> <Phone1>77777777</Phone1> <Phone2>77777777</Phone2> <Phone3>77777777</Phone3> <Email1>a1@b.com</Email1> <Email2>a2@b.com</Email2> </ContactDetail> <ContactDetail> <UserID>U002</UserID> <Name>User 2</Name> <Phone1>8888888</Phone1> <Email1>b1@nd.com</Email1> <Email2>b2@nd.com</Email2> </ContactDetail> </ContactDetails> Destination File __________________________________________________ _____________________________________ <?xml version="1.0" encoding="utf-8" ?> <ContactDetails xmlns="http://tempuri.org/Contacts2.xsd"> <User ID="U001"> <Name>User 1</Name> <Phones> <Phone>7777777</Phone> <Phone>8888888</Phone> </Phones> <Emails> <Email>u1@nd.com</Email> <Email>u2@nd.com</Email> <Email>u3@nd.com</Email> </Emails> </User> </ContactDetails> |
|
#2
|
||||
|
||||
|
I don't understand what you're asking...
You want us to write a schema for you? |
|
#3
|
|||
|
|||
|
I want to move data selectively from source to destination i.e if any duplicate element is present then it should not be copied.
As u can see from the above data that there are two E Mail elements (Email1 & Email2), so if data within this elements is same then only one element should be copied, else both the elements should be copied. So how can this selection is be done in MapForce. Help on functions that can be used. Quote:
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Mapforce help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|