[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Compare 2 Xml files & output a single XML

Subject: Re: Compare 2 Xml files & output a single XML
From: "Kalyan Kumar Mudumbai" <kalyan_tech@xxxxxxxxxxxxxx>
Date: 7 Aug 2002 09:38:49 -0000
compare 2 xml files
Hi Arun,

I want 2 copy any 2 XML files & output a single XML file which is
Union of both the Files.

there are two ways of merging XML files. Optmized way and Generalized way. If it's to be an optimized way, then, you should be knowing the XML structure of both your xml files before hand, so that you can write your XSL in such a way to merge both of them into one single one. The other one, takes in any two XML files and merges both of them. But there is a *catch*, what are the rules for merging both the xml files? What are the elements in the two files you are going to merge? Is it name dependant of is it level dependant, etc..? You should clearly define the rules for merging two xml files. Here is a link to the generalized merger (with some rules) written by Oliver:
http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge
This is a good starting point. If you can show your files, you might be getting a more specific answer.


Thanks,
Kalyan.




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.