lundi 11 mai 2015

compare xml through java and present it like a diff tool

I need to write a logic in java that

  1. Takes 2 versions of xmls like v1.xml & V2.xml
  2. Outputs the differences between the 2 xmls
  3. Displays them on a webpage just like any diff tool, like winmerge would display.
    • Removed lines - Highlighted in a unique color
    • Added lines - Highlighted in a unique color
    • Changed lines - Highlighted in a unique color

What is the best way to achieve this.

Thanks !

Aucun commentaire:

Enregistrer un commentaire