compare xml through java and present it like a diff tool -
i need write logic in java that
- takes 2 versions of xmls v1.xml & v2.xml
- outputs differences between 2 xmls
- 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
Post a Comment