Hello, I think i have a rather unique problem to solve. Well, i cant find enough information using Google. So here it goes,
I work on a JEE SOA application which stores XML documents as XML using Oracle XML DB. Whenever the XML changes, i increment the version and throw the previous version into a different table.
The requirement now is, I should store the differences between 2 versions as XML, instead of the whole XML document.
1) Is there any Java library which can do XML comparison? (XMLUnit, ... ?) 2) Is there a standard XML Schema for capturing XML differences? 3) What transformation technology can i use to apply the "differences" to an XML to go back and forth between versions? (XSLT, Groovy,.... ?)
I appreciate your time.