Skip to Content
Jul 06, 2021 at 08:47 AM

Need help in CPI Groovy script to return difference in XML documents


Hi ,

I want to compare the two xml files and return the difference in those files.

I am storing the two xml's in the datastore and getting the two xml's using datastore get operation then storing it in a properties.

Those properties i am calling in the script . Now I am able to get the two xml files in the groovy. Now I need to compare those two xml files in groovy.

Need help in comparison of those two files in groovy. Can anyone share the code for returning the differences.

Thank you..