Diff 2 large XML files to produce a delta xml file

Posted by aniln on Server Fault See other posts from Server Fault or by aniln
Published on 2012-10-12T19:46:15Z Indexed on 2012/10/12 21:38 UTC
Read the original article Hit count: 776

Filed under:
|
|

Need to be able to diff 2 large / very large XML files and produce the delta XML file. Also, as this process will be part of a larger automated process on below hardware / OS config.

Machine hardware: sun4v OS version: 5.10 Processor type: sparc Hardware: SUNW,SPARC-Enterprise-T5220

Please let me know if there's an installable application on Solaris which can be called as part of a ksh script

Example: Run driver_script.ksh Above script will have a line:

xml_delta file1.xml file2.xml > delta_file.xml

where xml_delta is the installable application which produces the delta file after comparing file1.xml and file2.xml

© Server Fault or respective owner

Related posts about unix

Related posts about Xml