If I had an assignment like that ("generate one XML file from another XML file") then the first tool I would consider would be XSLT. I wouldn't consider low-level tools like SAX and DOM parsers until I was sure that XSLT couldn't do the job.
Joined: Jul 03, 2010
Thanks for the reply.In my case i have a xml template on the server.I need to collect data across various jsp pages and create a new xml file based on the xml template and populate the collected data over there.At the end of this, the template xml should remain as it was before.How do i use XSLT as you mentioned to achieve the same.
I have no idea. It would depend on what data you were collecting and how much of it there was and how it was structured. If you're going to do this kind of evaluation you have to produce a proper set of requirements.
If I had an assignment like that ("generate one XML file from another XML file") then the first tool I would consider would be Perl. I wouldn't consider XSLT because of it's awkward programming style and inability to store program data efficiently. Moreover, the pattern-matching features of Perl are very powerful and flexible.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com