It is possible to compare two DocBook files using the command line tool from this directory as follows, where '\''^' is a line continuation character.
java -jar ../../deltaxml-docbook.jar compare \ articleA/docbook-article-A-db5.xml articleB/docbook-article-B-db5.xml docbook-article-revision.xml \ indent=yes image-compare=true show-image-changes-at-mediaobject-level=true
docbook-article-revision.xml file contains the result, which shows cases where images have changed as
image-compare is set to
true. In order to make it more obvious what has changed
show-image-changes-at-mediaobject-level has also been set to true.
Other parameters are available as discussed in the User Guide and summarised by the following command
java -jar ../../deltaxml-docbook.jar describe
For an example of using the java/.Net API to call the compare see the FileCompare sample.