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 - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -