Hello Everyone,
I tried to play around with the Beyond Compare Scripting.
I wanted to be able to compare two XML-Files and show the differences in a HTML-File.
Here's the Script that I'm using:
load "C:\Users\User\BCTest"
filter "*.xml"
expand all
select all
text-report layout:side-by-side options:display-all,line-numbers output-to:%1 output-options:html-color
I'm running this whole thing from the command line as follows:
BCompare.exe @"C:\Users\User\BCTest\BCScript.txt" "C:\Users\User\BCTest\file1.xml" "C:\Users\User\BCTest\file2.xml" "C:\Users\User\BCTest\output.html"
But when I then open the generated HTML File I get the following view:
Why is everything showing as a difference? The only thing that has been changed is the Price-Tag on line 10.
Am I doing something wrong or did I understand this whole thing wrong?
Thanks for any help!
Kind Regards
I tried to play around with the Beyond Compare Scripting.
I wanted to be able to compare two XML-Files and show the differences in a HTML-File.
Here's the Script that I'm using:
load "C:\Users\User\BCTest"
filter "*.xml"
expand all
select all
text-report layout:side-by-side options:display-all,line-numbers output-to:%1 output-options:html-color
I'm running this whole thing from the command line as follows:
BCompare.exe @"C:\Users\User\BCTest\BCScript.txt" "C:\Users\User\BCTest\file1.xml" "C:\Users\User\BCTest\file2.xml" "C:\Users\User\BCTest\output.html"
But when I then open the generated HTML File I get the following view:
Am I doing something wrong or did I understand this whole thing wrong?
Thanks for any help!
Kind Regards
Comment