Problem solve Get help with specific problems with your technologies, process and projects.

Tracking changes in an XML document

I need to create a method that will track changes being made to a document, which will be converted to XML. I want this system to highlight any changes that have been made after the conversion. I want the changes to stand out and be easily identifiable. Is there a way to do this within a DTD or schema?
Track changes is extremely difficult to implement within a DTD or schema. The main reason for this is that changes tend to overlap the hierarchical structure boundaries and the resultant non-hierarchical structure cannot be directly represented in XML. Some aspects of the XML data model also cause problems for change tracking e.g. attributes. The easiest way to make changes stand out is to use a separate XML "diffing" tool to compare two versions of the same XML document. A variety of such tools are available, both commercial and open source

Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.