java - Comparing two instances of XML for changes -


i have requirement want keep/track changes base xml document . have figure out efficient way keep track of changes done base xml structure , keep changes in different fomat(xml). input source can of both type sax , dom .how can achieve ?

xmlunit has functionality:

xmltestcase.comparexml() has both dom , sax versions. use detaileddiff list of differences between 2 xmls. convert diff object own representation if needed.

xmlunit nice because can treat similar xml documents (such whitespace, sibling order, namespace prefixes) same if want.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -