compare xml through java and present it like a diff tool -


i need write logic in java that

  1. takes 2 versions of xmls v1.xml & v2.xml
  2. outputs differences between 2 xmls
  3. displays them on webpage diff tool, winmerge display.
    • removed lines - highlighted in unique color
    • added lines - highlighted in unique color
    • changed lines - highlighted in unique color

what best way achieve this.

thanks !

you can use xmlunit achieve of requirements.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -