On 03/31/2011 04:19 PM, Philippe Nobili wrote:
> 
> When authoring XML files in our XXE plugin, we would like to be able to
> automatically mark the XML elements which have been modified; at the XML
> level, this could be a simple element flagging similar to DocBook's
> mechanism using *revisionflag* attribute.
> 
> Is there a way to automatically detect the elements being modified
> during XML authoring in XXE, and for selected elements only to trigger
> this automatic flagging, thus avoiding the manual attribute setting ?

No, there is currently no mechanism which would allow to implement this
feature.



> 
> Rationale: Sometimes the XML documents combines different levels/types
> of information for different users populations. We would like to offer
> an efficient way for a given population that changes have taken place in
> part of the file there are interested in.
> 
> An alternative could be the use of a good XML diff engine couple with
> our SCM; this is under evaluation too.

We have considered implementing change tracking and gave up this idea
because we don't see how this could be implemented safely and
efficiently in XXE.

Because we have also considered tightly integrating an XML diff engine
in XXE, we have evaluated a number of such engines (Open Source and
commercial).

We have found two commercial XML diff engines to be quite good at
detecting changes in document-style XML (as opposed to data-style XML):

* Altova DiffDog -- http://www.altova.com/diffdog/diff-merge-tool.html

* DeltaXML -- http://www.deltaxml.com/

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to