Solved

Convert one XML file into another XML file format

Posted on 2013-05-20
3
447 Views
Last Modified: 2013-05-27
I would like to convert one xml string in to another XML format. Herewith I attached the sample XML files.

I would like to convert 12-sample.xml file in such a way that it sync with 13-sample.xml file format.

Please do assist.
12-Sample.xml
13-Sample.xml
0
Comment
Question by:Easwaran Paramasivam
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
anarki_jimbel earned 500 total points
ID: 39182691
One way to achieve this is to use xslt: xml file transformations.
You may read more here: http://www.w3schools.com/xsl/.

To write a proper xslt for your case would be quite a bit of work :).

Another way is to read data from one xml and create a new xml document using this data. Again, this is not a few lines task and also we have no proper specification on transformation.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 39198590
I replaced SettlementInfo with VipSettlementConfigParam then it works fine.
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 39198591
Thanks for your assistance.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question