Some questions about DITA Compare

PosterContent
nk4um Administrator
Posts: 42
April 14, 2011 10:06
The ability to track changes and the ability to show changes in a published document are not the same thing when you are dealing with XML documents.

Tracking Changes

Many editors now have the ability to track changes as you are editing a document. This is useful in that you can undo any particular change or ask another person to accept or reject changes.  However, these tracked changes are typically not shown up in a published document. It is also necessary to have the tracked changes switched on for these to be recorded, it is typically not possible in a standard XML editor to compare two documents and generate a tracked change result. Having said that, at DeltaXML we are developing a plugin for oXygen to provide that facility, and it will also be available as an API to integrate into CMS systems.

Showing Changes in a Published Document

If you want to show changes in a published document, then your publishing pipeline needs to understand the changes and mark them up in the HTML or PDF output. To achieve this, you need to set the correct attributes in your source document. You could do this manually in the editor (difficult!) but it is much easier, faster and more accurate to use DeltaXML DITA Compare to do this for you.


You indicate that your CMS vendor
says that a dif engine like DITA Compare adds more steps and expense to the process of implementing a revision-tracking strategy.
I am sure that the CMS system keeps all the versions of a particular document and it probably also allows you to view all the lines that have changed  between two particular versions of a document. But it is very unlikely that it will allow you to generate a proper DITA document with revision flags set to show changes - and this is what you need to publish a document showing the changes. If your CMS system incorporated DeltaXML DITA Compare within the system, then they would be able to provide this useful facility to all their users.

In fact there is a good case for a CMS that is serious about DITA to provide this ability in their system, and they could also use DeltaXML comparison to generate tracked changes for editors also, as mentioned above. This can be useful in support of translation as well as providing end-users with documentation that shows changes since a previous revision.

Whether you want the compare functionality in the editor or integrated into the CMS depends on your use. Integration with the CMS is probably easier to manage, but can only be used on documents in the CMS of course.

I hope this helps to explain how DeltaXML can fit into your publishing system.

Robin
Like · Post Reply
nk4um User
Posts: 4
April 8, 2011 16:31
Hi again,

I heard back from my CMS contact, who says that a dif engine like DITA Compare adds more steps and expense to the process of implementing a revision-tracking strategy. How is a dif engine more complex and expensive to implement than other revision-tracking methods out there?
Like · Post Reply
nk4um User
Posts: 4
April 8, 2011 15:13Some questions about DITA Compare
Thanks again. I''ll be writing up an email to my CMS contact right away. Have a great day!
Like · Post Reply
nk4um Administrator
Posts: 42
April 8, 2011 15:03Some questions about DITA Compare
Changes will be visible in both an XML editor and the PDF. For PDF, the ditaval file needs to be set up to ensure that the post-processing adds text decoration according to the rev attribute. You can see on our online one-page demo how this shows the change in the PDF - just select ''Create result'' and they you can download the result in DITA, XSL-FO, HTML or PDF. Load the ''Compare your own DITA files'' demo and you can test this on your own DITA topic.

The Specification provides a more detailed commentary on how it works.

Robin
Like · Post Reply
nk4um User
Posts: 4
April 8, 2011 14:51Some questions about DITA Compare
Thank you, Robin, for your reply. I really excited about passing on information about DITA Compare to our CMS vendor. Just one more thing to confirm before I do... Are the tracked changes visible in both the XML-aware editor and the generated PDF or in only the XML-aware editor?
Like · Post Reply
nk4um Administrator
Posts: 42
April 8, 2011 11:02Some questions about DITA Compare
From your description, DeltaXML DITA Compare is exactly what you need. DeltaXML is used in a number of content management systems in order to show changes between revisions of documents. Our software is provided with a comprehensive Java or .NET API and can easily be integrated into a CMS.

You can see the result DeltaXML DITA Compare generates in our online demo. It generates standard DITA output which can be viewed in a DITA-aware editor, configured to highlight text based on the ''rev'' or ''status'' attributes. We are developing a ''plugin'' for the oXygen XML editor that will allow direct access to DeltaXML DITA Compare from the editor, but access from the CMS makes sense in your case (we do not have an XMetaL plugin as a product).

I am not surprised when you say that they have not had an easy time trying to implement this themselves. While basic differencing of XML is quite simple, it is much harder to compare documents which have formatting structure and style information. Tables are particularly difficult to handle, and we are putting considerable effort into ensuring that we provide the best possible representation of changes to tables (we are making further improvements in this area at the moment). Wherever possible we will show changes to individual cells or rows, although in some cases of complex structural change it is not possible to show it in this way.

Please do get in touch with us directly, or ask your CMS vendor to do so, and we would be pleased to discuss how best we can help.

Robin
Like · Post Reply
nk4um User
Posts: 4
April 7, 2011 00:31Some questions about DITA Compare
Hello,

My company requires a tool that will allow us to generate PDF documents in which revisions are visibly tracked. We are using a hosted (i.e., Software as a Service) content management system to manage our DITA-based XML files. Also, we use XMetal as our XML /authoring editing tool and publish to PDF using style sheets developed in Antenna House.

Currently, developers at the CMS company are trying to develop a solution that will provide us with a change-tracking mechanism visible in generated PDFs (preferably, but not limited to, change bars); however, they''re not having an easy time of it.

I''d like to pass on information about DITA Compare to contacts at our CMS company. Based on what I''ve read on the DITA Compare feature sheet and heard on the demo video, DITA Compare seems like a good prospect, but I''d like to know a little more before I send this information along to my CMS contacts.

Can you please provide some details about CMS support for DITA Compare and which DITA-aware XML editors support it?

Thank you!
Like · Post Reply