Applications - Versioning XML
Conventional text file versioning can be applied to XML files but does not work well because the XML structure is not based on lines. DeltaXML is idealling suited to handling versions of XML files, whether they contain documents or data.
There are two ways to use DeltaXML for versioning XML files:
- Use the changes-only delta file that is generated by DeltaXML Core when two XML files are compared. This delta represents the changes between the two files and so can be used to convert from one to the other. DeltaXML Core includes a re-combine function to do this. This enables deltas to be stored and then re-combined as needed to generate the original versions of a document.
- Use the full-context delta file that is generated by DeltaXML Core when two XML files are compared. This contains all of the data from both files so either can be extracted from the full-context delta. As an extension of this, DeltaXML Sync will combine three XML files into one.
The delta format used by DeltaXML delta file is the same whether it contains two or three files in one XML file.
We have considerable experience in this area so please do contact us if you would like any further information.
