I am utilising Saxon in order to batch process hundreds of XMLs and do a find and replace of values across multiple tags.
There are many instances where this process may find nothing and so will replace nothing. As a result i want to be able to output a report or event log of all instances where Saxon finds and replaces within an XML and at least output the file name as well as (maybe not possible) the specifically changed value.
This will allow me to better optimise the find and replace function. At the moment i am taking my inputted XMLs and comparing them against my transformed XMLs one at a time which does not seem efficient.
Any help would be greatly appreciated.