The four views you see represent DocBook Compare after an initial comparison and after you apply XSLT transformations to the raw delta.
The delta format is the native output of DocBook Compare. For each element it shows whether it was present in the inputs (called A and B).
You can create the side by side view by applying XSLT transformations to the raw delta file.
You can create the inline view by applying XSLT transformations to the raw delta file.
PDFs can be generated from the raw delta file using the relevant toolkits for the document type.
<?xml version="1.0" encoding="UTF-8"?> <article xmlns:deltaxml="http://www.deltaxml.com/ns/well-formed-delta-v1" xmlns="http://docbook.org/ns/docbook" xmlns:dxx="http://www.deltaxml.com/ns/xml-namespaced-attribute" xmlns:dxa="http://www.deltaxml.com/ns/non-namespaced-attribute" deltaxml:deltaV2="A!=B" version="5.0" deltaxml:version="2.0" deltaxml:content-type="full-context"> <title deltaxml:deltaV2="A=B">DeltaXML DocBook5 Compare</title> <para deltaxml:deltaV2="A!=B"> <deltaxml:textGroup deltaxml:deltaV2="A!=B"> <deltaxml:text deltaxml:deltaV2="A">This sample document shows some of the benefits of DeltaXML DocBook5 Compare, which shows revisions in all your DocBook Documents. DeltaXML DocBook 5 Compare takes the pain out of tracking an documenting changes in all DocBook5 documents.</deltaxml:text> <deltaxml:text deltaxml:deltaV2="B">This sample document shows some of the benefits of DeltaXML DocBook5 Compare, which shows revisions in all your DocBook Documents. DeltaXML DocBook 5 Compare takes the pain out of tracking and documenting changes in all DocBook5 documents.</deltaxml:text> </deltaxml:textGroup> </para> <para deltaxml:deltaV2="A=B">You can simply execute DeltaXML DocBook5 Compare and provide it with two version of, say, a DocBook article and it will generate a new article which shows all the changes. Added, deleted and changed text will be marked with DocBook revisionflag attributes. This simple example shows how this works.</para> <para deltaxml:deltaV2="A!=B"> <deltaxml:textGroup deltaxml:deltaV2="A!=B"> <deltaxml:text deltaxml:deltaV2="A">This document represents Version 1. You will see that when 'Version 1' is changed to 'Version 2', the change is marked.</deltaxml:text> <deltaxml:text deltaxml:deltaV2="B">This document represents Version 2. You will see that when 'Version 1' is changed to 'Version 2', the change is marked.</deltaxml:text> </deltaxml:textGroup> </para> <para deltaxml:deltaV2="A">This paragraph appears only in Version 1 and not in Version 2.</para> <section deltaxml:deltaV2="A!=B"> <title deltaxml:deltaV2="A=B">A Section</title> <para deltaxml:deltaV2="A=B">When an article has sections, each section will be aligned with a section in the other document and not with a paragraph.</para> <para deltaxml:deltaV2="B">This paragraph is the same as the paragraph before/after it in the result article but is not aligned because it is in different sections in each input article.</para> </section> <section deltaxml:deltaV2="A!=B"> <title deltaxml:deltaV2="A=B">Benefits</title> <para deltaxml:deltaV2="A">This paragraph is the same as the paragraph before/after it in the result article but is not aligned because it is in different sections in each input article.</para> <para deltaxml:deltaV2="A!=B">Here are some of the benefits of using DeltaXML DocBook5 Compare: <itemizedlist deltaxml:deltaV2="A!=B"> <listitem deltaxml:deltaV2="A=B"> <para>An author does not need to set up revision flags to show where changes have been made</para> </listitem> <listitem deltaxml:deltaV2="A=B"> <para>You can decide when publishing whether to show changes between the current document and the last major or minor release, or any version in between</para> </listitem> <listitem deltaxml:deltaV2="A=B"> <para>You can make use of DeltaXML's docbook-xsl customization layer that highlights changes using styling when producing HTML or XSL-FO output. The customization layer can be integrated with any existing customizations you may use.</para> </listitem> <listitem deltaxml:deltaV2="A!=B"> <para deltaxml:deltaV2="A!=B"> <deltaxml:textGroup deltaxml:deltaV2="A!=B"> <deltaxml:text deltaxml:deltaV2="A">The output generated by DeltaXML DocBook5 Compare is a DocBook5 document which you can edit in any way you choose, perhaps to fine-tune the changes that you want to show</deltaxml:text> <deltaxml:text deltaxml:deltaV2="B">The output generated by DeltaXML DocBook5 Compare is a DocBook5 document which you can edit in any way you choose, for example to fine-tune the changes that you want to show</deltaxml:text> </deltaxml:textGroup> </para> </listitem> </itemizedlist> </para> </section> <section deltaxml:deltaV2="A!=B"> <title deltaxml:deltaV2="A=B">Tables</title> <para deltaxml:deltaV2="A=B">Here is an example of a table which has been changed:</para> <table deltaxml:deltaV2="A!=B"> <title deltaxml:deltaV2="A=B">Table Example</title> <tgroup deltaxml:deltaV2="A!=B" cols="3"> <thead deltaxml:deltaV2="A=B"> <row> <entry>DocBook Article Element</entry> <entry>Are changes shown?</entry> <entry>Comment</entry> </row> </thead> <tbody deltaxml:deltaV2="A!=B"> <row deltaxml:deltaV2="A=B"> <entry>Paragraph <code><para></code> </entry> <entry>Yes</entry> <entry>Every added or deleted word is wrapped in a phrase <ph> element with a <code>revisionflag</code> attribute to indicate if it is added or deleted.</entry> </row> <row deltaxml:deltaV2="A=B"> <entry>Section <code><section></code> </entry> <entry>Yes</entry> <entry>Changes shown within each paragraph or other content of the section.</entry> </row> <row deltaxml:deltaV2="A=B"> <entry>Lists <code><itemizedlist></code>, <code><orderedlist></code> or <code><simplelist></code> </entry> <entry>Yes</entry> <entry>Changes shown within each list item <li></entry> </row> <row deltaxml:deltaV2="A!=B"> <entry deltaxml:deltaV2="A=B">Table <code><table></code> or <code><informaltable></code> </entry> <entry deltaxml:deltaV2="A=B">Yes</entry> <entry deltaxml:deltaV2="A!=B"> <deltaxml:textGroup deltaxml:deltaV2="A!=B"> <deltaxml:text deltaxml:deltaV2="A">Changes shown within the text content of each cell of the table. DeltaXML DocBook5 Compare processes the structure of tables so these are handled intelligently.</deltaxml:text> <deltaxml:text deltaxml:deltaV2="B">Changes shown within the text content of each cell of the table. DeltaXML DocBook5 Compare understands the structure of tables so these are handled intelligently.</deltaxml:text> </deltaxml:textGroup> </entry> </row> </tbody> </tgroup> </table> </section> <section deltaxml:deltaV2="A=B"> <title>Summary</title> <para>DeltaXML DocBook5 Compare frees editors to work on documents without having to track where they are making changes. Simply by comparing either minor or major revisions using DeltaXML DocBook5 Compare, revision flags are added and reviewers and customers can see exactly where changes have been made. And because DeltaXML DocBook5 Compare generates standard DocBook documents, you can edit them and publish changes using your existing publishing infrastructure.</para> </section> </article>
Differences
This is the content for the developer information panel.