Tuxas home pageThis script provides some help when XML system configuration files need to be audited and compared with each other.
It takes an XML config file converts it to HTML, which then can be viewed with any browser. Comparemmsc currently understands just a few frequently used schemas. You are free to add your own ones. See xsl files in /usr/lib/comparemmsc.
Comparemmsc can be used to compare up to 3 parameter files, and highlights differences of the values in them. It also can walk through directory trees, and can compare up to 3 trees, as long as they are symmetrical.
The program does some XML syntax checking and complains if any file has bad syntax. Of course, it only works on files containing error free syntax.
For a list of available command line options, just execute this script as comparemmsc -?
This script can be run without any manual interaction, and thus can be bound into a web server cgi-bin interface if its gets its input by some script. (...which yet still has to be written. If you have a script for it, please let me know.)
Test run:
cd /usr/share/doc/comparemmsc/examples
comparemmsc example*.xml
comparemmsc sysA sysB is currently still
buggy if similar schemas are used.
Bash, xsltproc, tidy, konqueror.