Skip to content

A tool comparing two XML files and generating an Excel report

License

Notifications You must be signed in to change notification settings

kdefombelle/xmlcompare

Repository files navigation

XmlCompare

Introduction

XmlCompare is a tool allowing to compare 2 XML files and dump the result in an Excel document.
It is based on XMLUnit for the comparison.
It relies on Excel using Apache POI.

It produces an Excel report as illustrated below: alt text

It proposes a script or a GUI to execute this comparison.


GUI

This project is simple Java FX GUI to use this XmlCompare tool. alt text


Script

The typical usage are illustrated below:

On Windows

bin\xmlcompare.bat -c sample\loremIpsum1.xml -t sample\loremIpsum2.xml

On MacOS

bin/xmlcompare.sh -c sample/loremIpsum1.xml -t sample/loremIpsum2.xml

Ignoring attributes comparison / naming your Excel report

bin/xmlcompare.sh -c sample/loremIpsum1.xml -t sample/loremIpsum2.xml -i -r myReport.xlsx

Command Line Arguments

Option Description
-c, --control control file
-h, --help print this help message
-i ignore XML attributes in comparison
-r, --report Excel report file name (default:report-${timestamp}.xlsx)
-t, --test file to be compared

About

A tool comparing two XML files and generating an Excel report

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published