Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 25th, 2004, 03:05 AM
forashok forashok is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 3 forashok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Attached Files
File Type: zip mapforce_testFiles.zip (1.9 KB, 360 views)

Reply With Quote
  #2  
Old November 25th, 2004, 09:20 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I don't understand what you're asking...
You want us to write a schema for you?

Reply With Quote
  #3  
Old November 25th, 2004, 12:35 PM
forashok forashok is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 3 forashok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Mapforce

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:
Originally Posted by MadCowDzz
I don't understand what you're asking...
You want us to write a schema for you?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Mapforce help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT