Copyright © 2000 by Sun Microsystems, Inc.
09 Nov 2000
Table of Contents
Before attempting to install diffmk, make sure that you have installed the following:
Programs and Documentation
The Sun XML Developer Connection article that I wrote about this program.
The XML Schema for the format of the diffmk Control File.
Documentation Sources
Examples
The text-based diff-version of the differences between test1.xml and test2.xml.
The diffmk-version of the differences between test1.xml and test2.xml.
An HTML frames driver that shows test1.html, test2.html, and out.html side-by-side.
Install the diffmk script somewhere in your path. If you don't want to put it in your path, you can install it anywhere you like and use its fully-qualified path name to execute it.
Place the diffmk.xml Control File somewhere that diffmk will find it. You can put it in the same directory as the diffmk script, in your home directory, or anywhere on your Perl @INC path. If you put it in your home directory, rename it .diffmk.xml.
On Unix systems, you can simply run the script like any other command from the shell prompt:
$ diffmk --doctype docbook file1.xml file2.xml output.xml
On Windows, you will probably have to explicitly invoke Perl:
C:\>perl \path\where\you\installed\it\diffmk --doctype docbook file1.xml file2.xml output.xml
See the reference documentation for a complete summary of the options available.