How can I compare 2 XML files


I am implementing regression testing for a process which output is an XML file.

what is the best option for comparing the content of 2 XML file (one pre-defined to be used for this regression, and the new one generated during the test case execution) with Katalon?

You can either do a char-by-char comparison of two strings, or test the files/strings for (essentially) XML semantic equivalence. See the top answer in this SO post: