Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Program to compare two xml file

Tags:

compare

xml

I would like to compare two xml files using some kind of program ( may be using XLST or Java), but the actual need is I would like to exclude some xpath's for comparision. If it is program to be written may be I can configure them in some configuration file. But not sure much about XSLT. Is there any open source library which do this action ? any tool which runs on the batch mode will do for me

like image 394
srinannapa Avatar asked May 08 '26 08:05

srinannapa


2 Answers

Beyond Compare 3 lets you compare two xml files.

  1. Download Beyond Compare 3 (30 days of free usage - don't have to be consecutive days)
  2. Download the XML tidied with attributes sorted extension
  3. Follow the Beyond Compare 3 instructions to add the extension.
  4. Then this screenshot shows how to use the extension: using the XML tidied with attributes sorted extension
like image 182
David Silva Smith Avatar answered May 11 '26 04:05

David Silva Smith


This supports java and .net : XMLUnit

like image 44
KJYe.Name Avatar answered May 11 '26 05:05

KJYe.Name