Solved

Convert one XML file into another XML file format

Posted on 2013-05-20
3
439 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now