Displaying changes to XHTML
We will look at two XHTML files and show how DeltaXML can display the changes without viewing the XML directly.
The two files can be displayed in a browser, intro-v1.html and intro-v2.html. You will see that they are two versions of a document. These were compared, a full delta was generated and further processed to generate a view of the changes in HTML (intro-v1-to-intro-v2.html). This provides a very user-friendly view of the changes. It requires a special XSLT stylesheet which has knowledge of XHTML. Notice how the deleted graphic is shown and how the choice items in the forms also show the changes. The changes within tables are also shown in context. The XSLT stylesheet could be amended to show any change in any way, so almost infinite tailoring to particular needs is possible.Of course it is also possible to see these changes as a color-coded HTML file.