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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -